Luciano Amodio
bec2e939b4
change filter name
2017-12-19 18:25:16 +01:00
Luciano Amodio
8983b38598
change filter name and position `woocommerce_product_export_get_limit`
2017-12-19 17:18:55 +01:00
Luciano Amodio
f383886fb5
fix not needed double quotes
2017-12-19 14:51:23 +01:00
Luciano Amodio
4d267c0dbb
Rename exporter filter to `woocommerce_product_export_init`
...
moving it in the abstract constructor and let it be more generic now is possible to do:
```
add_filter( 'woocommerce_product_export_init', function ( $exporter ) {
if( 'product' === $exporter->export_type ) {
$exporter->set_limit(100);
}
});
2017-12-19 13:50:37 +01:00
Luciano Amodio
27dd962be7
Add WC Product CSV Exporter limit filter
...
with tons of products is nice to have an way to change the limit for the exporter (now is set to 50)
'''php
function wc_exporter_set_limit($limit) {
return 1000;
}
add_filter( 'woocommerce_product_export_product_default_limit', 'wc_exporter_set_limit');
'''
2017-12-16 13:49:21 +01:00
Nathan Dawson
28a54fe983
Fix calculation of total rows exported
2017-12-12 19:33:48 +00:00
Mike Jolley
03db5c4590
Merge pull request #18048 from woocommerce/fix/17722-2
...
Allow import and export draft products
2017-12-07 14:29:50 +00:00
Mike Jolley
91887b918f
phpcs
2017-12-07 12:31:30 +00:00
Mike Jolley
cadfcfc11f
phpcs
2017-12-07 12:21:01 +00:00
Mike Jolley
d3cd420c0a
Format data of headers
2017-12-07 12:15:39 +00:00
Claudio Sanches
0946fd04cf
Allow import and export draft products
...
Closes #17722
2017-12-06 18:32:35 -02:00
claudiulodro
ee445b6ee5
Importer/Exporter backorder compatibility
2017-11-22 11:48:19 -08:00
Mike Jolley
9f059e17a9
Add helper function instead of calling method, and restore old method for bw compat
2017-11-08 15:07:00 +00:00
Gerhard Potgieter
7b9fb6c0cb
Change nocache_headers hook firing ( #17540 )
...
* wp hook is too late to fire the nocache_headers filter, some caching plugins read it before that it seems.
* Create do_not_cache_page helper function and call that instead of nocache_headers
* Must add checks to prevent caching on certain pages as well
* Nothing to return
2017-11-08 14:27:30 +00:00
Mike Jolley
c1d86b9994
Split up skip logic
2017-10-30 12:15:32 +00:00
Diego Zanella
3576025036
Added filter to process meta to be exported
2017-10-30 10:19:57 +00:00
claudiulodro
981b2bc445
Escape attribute name commas in CSV exporter
2017-10-26 09:40:35 -07:00
Claudio Sanches
0b3811bd11
Change Position key from 'position' to 'menu_order'
2017-08-22 16:46:09 -03:00
Claudio Sanches
af23ad42d7
Included "position" (menu_order) to exported products
2017-08-22 16:33:19 -03:00
Nick Hoobin
25038f6d0f
Add a filter to arguments passed to wc_get_products during prepare_data_to_export()
2017-07-18 10:38:36 -05:00
Jaydeep Rami
3522857d23
Fix typo in WooCommerce plugin ( #16135 )
...
* Fixed typo
* Fixed more typo
* Fixed more typo
* Fix tyop
* Fix more typo
* Fix more typo
* Fix typo
* Fix typo
* Fix typo
* Fix typo datatime object
* Fix short name of compat
* Fix typo: update short name
* Fix typo "deactive" to "deactivate" and short BW - Compat
* Fix typo "Backwards compat"
* Fix typo 'parameters'
* Fix more typo 'pararmeters'
* Fix typo 'compund'
* FIx typo order
* Fix typo
* Fix typo 'incorrecly'
* Fix typo 'genarate'
* Fix typo 'reletive'
* Fix typo 'Handly'
* Fix typo 'rotatated'
* Fix typo
* Fix typo 'additonal'
* Fix typos
2017-07-17 11:10:52 +01:00
Caleb Burks
817efb551c
Pass $column_id into export filter
2017-07-03 23:32:44 -05:00
Claudio Sanches
4b716ce269
Merge pull request #15943 from woocommerce/update/15926
...
Added method to escape commas in CSV values
2017-07-03 11:33:43 -03:00
Mike Jolley
eb5c6d688b
Added method to escape commas in CSV values
2017-07-03 14:47:48 +01:00
Mike Jolley
280a9a625c
Merge pull request #15931 from woocommerce/update/skip-meta-filter
...
Update/skip meta filter
2017-07-03 10:41:40 +01:00
Mike Jolley
ccba0a665e
Rename function and include less args
2017-07-03 10:38:29 +01:00
Caleb Burks
b127a67ed8
Add filter to skip metas from being exported
2017-07-02 03:14:24 -05:00
Caleb Burks
b7ad5e18fc
Export metadata along with custom columns
2017-07-02 02:21:58 -05:00
Mike Jolley
5c2a69c668
Add BOM for excel
2017-06-23 17:19:50 +01:00
Mike Jolley
712c281fb7
Add tax class and status to export
...
Fixes #15663
2017-06-19 14:01:52 +01:00
Mike Jolley
1696a036a8
Use fputcsv to fix escaping
2017-06-10 15:43:38 +01:00
Mike Jolley
a013a41872
Fix escape
2017-06-09 13:40:11 +01:00
Mike Jolley
0d99ce626c
Increase limit to 50
2017-06-09 12:21:46 +01:00
claudiulodro
992c1cce63
Add filter to exporter default column names
2017-06-02 11:46:27 -07:00
claudiulodro
63069976cf
Order ASC in exporter
2017-06-01 11:52:14 -07:00
Mike Jolley
72ddb1f23d
Merge branch 'feature/product-csv-import-export' into feature/15302
...
# Conflicts:
# includes/export/class-wc-product-csv-exporter.php
2017-05-31 12:13:42 +01:00
Claudio Sanches
4a98844bb8
Shows if attribute is visible in exported data
2017-05-30 18:58:45 -03:00
Claudio Sanches
96fe919535
Added column in exported data to indicate if attribute is global
2017-05-30 18:06:56 -03:00
Claudio Sanches
18bb025eaf
Fixed exported images
2017-05-30 14:33:17 -03:00
Mike Jolley
934e95bc8b
Merge pull request #15308 from woocommerce/fix/15297
...
Grouped product support in importer/exporter
2017-05-29 10:13:45 +01:00
claudiulodro
759fcae533
Use 'grouped_products' for grouped products
2017-05-28 12:37:18 -07:00
Claudio Sanches
d2c3bf362f
Normalize column names
2017-05-26 18:01:15 -03:00
claudiulodro
9b925d28ec
Grouped product child support
2017-05-26 13:30:17 -07:00
claudiulodro
d362d47995
Get external products working
2017-05-26 11:26:55 -07:00
Mike Jolley
f51d434d10
Added todo item in exporter
2017-05-26 15:57:29 +01:00
claudiulodro
c4c990bc7c
Remove unneccessary function
2017-05-25 12:36:10 -07:00
claudiulodro
a99d7ff099
Exporter tests and tweaks
2017-05-25 12:33:14 -07:00
Mike Jolley
f40dddacc3
Feedback
2017-05-15 10:42:10 +01:00
Mike Jolley
ed32dd558d
Nonces and further tidyup
2017-05-12 20:15:08 +01:00
Mike Jolley
c63a3c2c12
tidyup
2017-05-12 17:00:14 +01:00
Mike Jolley
9faac6f60d
Filters
2017-05-12 16:39:02 +01:00
Mike Jolley
b0b86f13a0
Add missing columns
2017-05-12 16:16:04 +01:00
Mike Jolley
8fe0f03a95
Type exporting
2017-05-12 14:48:30 +01:00
Mike Jolley
5c6ef16e99
images
2017-05-10 23:05:06 +01:00
Mike Jolley
d2c2ead6c4
fix linked product export
2017-05-10 22:53:17 +01:00
Mike Jolley
4cacceeede
Variation handling
2017-05-10 22:16:53 +01:00
Mike Jolley
825dcda917
Selective export
2017-05-10 20:48:56 +01:00
Mike Jolley
11222655e5
Fix publish status
2017-05-10 17:27:31 +01:00
Mike Jolley
fd3bf05017
Working prototype exporter for products
2017-05-10 17:22:08 +01:00