Néstor Soriano
761108ccce
Merge pull request #29749 from ovidiul/vip/fix_batch_export
...
Fixing batch export limitations
2021-06-25 09:34:23 +02:00
Jonathan Sadowski
84eaa48511
Update exporter to include download IDs for possible retention on import
2021-06-15 10:06:37 -05:00
Ovidiu Liuta
f01c4a288c
fixing phpcs comment
2021-04-23 14:22:50 +03:00
Ovidiu Liuta
b23f117d84
coding style fixes
2021-04-23 12:34:23 +03:00
Ovidiu Liuta
f715e2a72f
Update abstract-wc-csv-batch-exporter.php
2021-04-23 12:23:18 +03:00
Ovidiu Liuta
1e6dd0acce
Fixing batch export limitations
...
This commit will fix the batch export issues related to distributed file systems and memory limitations.
Basically, instead of pretending the headers at the last step of the export and loading the full CSV content into memory each time data needs to be added, we basically will append the data to the created file on each batch request; and at the last step, we will also create a temporary file to store the CSV headers, so when preparing the download to the user, this will simply read the CSV headers from the created temporary file.
2021-04-23 12:20:45 +03:00
James Allan
53e6a7317b
Add filter to allow third-parties to filter exportable product types
2021-02-02 14:41:03 +10:00
Claudio Sanches
d48f1d4e2e
Fixed package tag usage
2020-08-05 13:36:24 -03:00
Claudio Sanches
37777432d4
[Importer/Exporter] Fix "Published" column values
...
While variations only uses "published" and "private" statuses when
exporting we should display the variations as "draft" in case the parent
product it's also a draft.
2020-07-15 21:45:51 -03:00
Jonathan Sadowski
5b232ff489
Export: properly escape commas in attribute values
2020-06-09 16:01:32 -05:00
Adel Tahri
859a041e80
Update abstract-wc-csv-batch-exporter.php
...
Update "Exit if accessed directly"
2019-10-31 15:58:54 +01:00
Rafsun Chowdhury
59c503b1c7
Update with suggested review changes
2019-10-05 19:47:16 +06:00
Rafsun Chowdhury
b3d21cb8ae
Added delimiter property with filter
...
Added support for custom delimiter #24579
2019-10-03 08:43:04 +06:00
Claudiu Lodromanean
86f05bbd7a
Merge pull request #22320 from Prospress/fix/22197
...
use slug sanitization on product export category slugs
2019-01-16 09:31:43 -08:00
Ron Rennick
1d05cf3d91
phpcs sniff fixes for class-wc-product-csv-exporter.php
2019-01-09 10:21:24 -04:00
Ron Rennick
74c9f16377
use slug sanitization on product export category slugs
2019-01-09 10:17:55 -04:00
Mike Jolley
b4427e0c25
Merge branch 'pr/22298'
2019-01-09 13:51:30 +00:00
Claudiu Lodromanean
2f82039869
Merge pull request #21938 from Prospress/fix/21935
...
Unescape imported escaped CSV formulas in product attributes
2019-01-02 11:59:39 -08:00
Ron Rennick
3083f05a0c
missed phpcs sniffs
2018-12-27 11:45:12 -04:00
Ron Rennick
9b200b213d
convert newlines to/from \n on export/import
2018-12-26 15:30:40 -04:00
Ron Rennick
c1cb73c00f
phpcs sniff fixes in class-wc-product-csv-exporter.php
2018-12-26 14:54:46 -04:00
Rodrigo Primo
2c8d006c37
Update PHPCompatibility sniff names
...
The name of some sniffs changed in the most recent PHPCompatiblity version. This commit update all instances where those names are used in WooCommerce codebase.
2018-11-21 11:08:26 -02:00
Ron Rennick
9c3fbc304e
only prepend CSV content triggers with a ' on export
2018-11-15 15:49:25 -04:00
Ron Rennick
5b486a1e2f
allow export and display of attribute labels containing html special characters
2018-11-09 09:17:18 -04:00
Claudiu Lodromanean
11911aa2ea
Merge pull request #20870 from woocommerce/add/export-products-based-on-category
...
Add category filter to product export functionality.
2018-08-08 08:51:58 -07:00
Gerhard Potgieter
1f4e86bd83
Allow exporting of variations for a parent product when a category is selected since variations are not tied to a category.
2018-08-08 14:45:57 +02:00
Gerhard Potgieter
b9a28b7ec2
Allow for multiple category selections when exporting.
2018-08-07 16:58:39 +02:00
Claudiu Lodromanean
87acfa731d
Merge pull request #20260 from leglesslizard/master
...
Set low stock notification threshold per product
2018-07-24 10:23:15 -07:00
Gerhard Potgieter
865f724187
Add category filter to product export functionality.
2018-07-23 11:59:01 +02:00
Khan M Rashedun-Naby
90b6f98582
PHPDoc | Return type changed to string from array.
2018-07-20 22:59:41 +06:00
Khan M Rashedun-Naby
eb104ecd17
PHPDoc | Return type changed from array to string.
2018-07-20 22:53:16 +06:00
ldybecklee
a7de4672dc
Update class-wc-product-csv-exporter.php
2018-07-17 12:10:55 +08:00
ldybecklee
0cf070ed5e
fix method 'get_column_value_stock'
2018-07-17 12:09:34 +08:00
ldybecklee
327fd26c70
Fix product csv exporter get stock value
...
seems the original get stock value is wrong, but I'm not sure if my change is correct...
what i'm considering is this line: if ( $product->is_type( 'variation' && 'parent' === $manage_stock ) ) {
2018-07-11 17:28:50 +08:00
Joey
cd8416122f
removed low stock options for variations, and addressed changes
2018-06-19 12:40:27 +01:00
Joey
d815f7bad5
updated import/export functions for low_stock_amount
2018-05-27 06:00:20 +01:00
Joey
b08b55a651
added changes for low stock notifications per product
2018-05-27 05:40:58 +01:00
Mike Jolley
e6ddc65c2a
Wrap cell in ' rather than prepend
2018-05-11 12:16:02 +01:00
Gerhard Potgieter
bfa2b017d1
Include pending products in the export
2018-05-02 07:47:55 +02:00
Gerhard Potgieter
3f87b3e009
Include scheduled products in the export.
2018-04-30 07:36:00 +02:00
Mike Jolley
5d4561240a
Handle escape characters for fputcsv
2018-04-10 18:08:56 +01:00
Gerhard Potgieter
38892f3067
PHPCS passing for abstract-wc-csv-exporter.php
2018-03-06 07:55:15 +02:00
Gerhard Potgieter
1c191688f8
PHPCS passing for abstract-wc-batch-exporter.php
2018-03-06 07:52:03 +02:00
Claudiu Lodromanean
f56fff18d9
Merge pull request #18322 from woocommerce/fix/importer-file-names
...
Importer file names
2018-01-02 08:10:20 -08:00
Mike Jolley
4e996ce268
Check for mb_detect_encoding support
2018-01-02 13:55:11 +00:00
Mike Jolley
46c51bb3a6
Allow filename to be set from javascript
2018-01-02 13:16:43 +00:00
Claudio Sanches
71a1fd319e
Fixed coding standards
2017-12-21 15:53:12 -02:00
Claudio Sanches
c18cc47286
Format prices while exporting products
2017-12-21 15:43:45 -02:00
Claudiu Lodromanean
4f94d9dbbc
Merge pull request #18247 from AdamQuadmon/wc-exporter-custom-filters
...
Add product export row action hook
2017-12-21 06:02:56 -08:00
Luciano Amodio
1b42973b75
Add export ajax query args and filename filter hooks
...
`woocommerce_export_get_ajax_query_args` let you pass args to ajax actions
`woocommerce_{$this->export_type}_export_get_filename` let you change the filename
2017-12-20 21:20:02 +01:00