Rodrigo Primo
e3cbebf29e
Merge pull request #21192 from woocommerce/fix/20979
...
Restrict category creation in importer to appropriate permissions
2018-08-29 11:27:49 -03:00
Rodrigo Primo
f1c2dbbf2b
Remove unneeded phpcs ignore comment
2018-08-29 10:34:06 -03:00
claudiulodro
74645b13f9
Dont allow users without manage_product_terms permissions to create categories using the importer
2018-08-24 11:32:48 -07:00
Joey
cd8416122f
removed low stock options for variations, and addressed changes
2018-06-19 12:40:27 +01:00
Joey
b08b55a651
added changes for low stock notifications per product
2018-05-27 05:40:58 +01:00
Mike Jolley
970a77b43b
This was not needed after all.
2018-04-26 17:18:39 +01:00
Mike Jolley
b4657d5a42
Status must be set after import
2018-04-26 16:06:04 +01:00
Mohammed Saimon
7869d5bc83
fix(csv-importer): export/import: unlimited downloads/time on downloadable products conflict is fixed #19720 ( #19732 )
...
* fix(csv-importer): export/import: unlimited downloads/time on downloadable products conflict is fixed #19720
* added -- which was removed unwillingly
* changed method name to parse_int_field and removed unnecessary checking
2018-04-17 15:37:33 +01:00
Mike Jolley
5d4561240a
Handle escape characters for fputcsv
2018-04-10 18:08:56 +01:00
Gerhard Potgieter
e876f0dfb2
empty check on 0 will be true, return no when empty.
2018-03-23 11:21:59 +02:00
Gerhard Potgieter
04cce41b6b
Default to no when importing backorders.
2018-03-23 11:19:02 +02:00
Mike Jolley
d674aa71aa
Fix import placeholder lookup
2018-02-05 14:33:34 +00:00
Mike Jolley
4ffff150b5
fix while loop
2018-01-10 17:28:26 +00:00
Mike Jolley
fd2b830a9f
Use intval for download limit and expiry
2018-01-09 10:56:57 +00:00
Claudiu Lodromanean
1b079f1e43
Merge pull request #18061 from woocommerce/fix/import-export-18047
...
Fix ID mapping to existing IDs
2017-12-07 09:57:31 -08:00
Mike Jolley
3de87d3db7
Fix ID mapping to existing IDs
...
Fixes #18047
2017-12-07 14:12:20 +00:00
Claudio Sanches
0946fd04cf
Allow import and export draft products
...
Closes #17722
2017-12-06 18:32:35 -02:00
claudiulodro
7e52af8b9a
Fix logic
2017-11-22 11:57:59 -08:00
claudiulodro
ee445b6ee5
Importer/Exporter backorder compatibility
2017-11-22 11:48:19 -08:00
Gerhard Potgieter
8e837adc50
Allow for shortcode and relative download urls to be imported. Closes #17334
2017-10-25 14:54:02 +02:00
Claudio Sanches
fecff53353
[Importer] Do not override stock_status when already declared
...
And fixed a few coding standards because the pre-commit hook.
Fixes #16992
2017-09-29 16:07:15 -03:00
Matt Miller
c87762177b
Add check for 0 as a string
2017-09-21 16:21:49 -07:00
Mike Jolley
3b3ceebc1f
Merge pull request #16579 from Chouby/action_before_import
...
Add action woocommerce_product_import_before_import
2017-08-25 11:19:20 +01:00
Mike Jolley
b3e92869f9
Imported non-published variations should be private, not draft
...
Fixes #16577
2017-08-23 10:45:18 +01:00
Frédéric Demarle
04b6e80065
Add action woocommerce_product_import_before_import
2017-08-23 09:37:41 +02:00
Claudio Sanches
7ad0dd55f9
Allow import 'menu_order'
2017-08-22 17:22:39 -03:00
Mike Jolley
c63e94d299
Add error handling for wp_insert_term
...
Fixes #16405
2017-08-14 10:40:00 +01:00
Mike Jolley
0f54e57093
CSV Import; correctly set stock props.
...
Closes #16398
2017-08-11 11:07:12 +01:00
Claudio Sanches
a01ffdd11d
Better variable naming for importer parser methods
2017-08-10 17:23:31 -03:00
Claudio Sanches
fe05e09015
Skip title, description and exceprt sanitization and let WP handle it
...
Should simulate the same behavior from WP admin, so just need to skip
extra sanitization, so WP can handle it while salving with
`wp_insert_post()` and `wp_update_post()` where will check for
`unfiltered_html` capability.
WP core already did something like it, but on REST API: https://core.trac.wordpress.org/ticket/38609
Fixes #16195
2017-08-10 17:17:56 -03:00
Mike Jolley
90f0a835b1
Fix filename image handling
2017-08-08 15:00:03 +01:00
Jaydeep Rami
46d3638089
Fix missing return statement ( #16148 )
...
* Fix missing return statement
* Fix missing return statement
* Fix missing return statement
* Fix missing return statement
* Fix missing return statement
* Fix missing return statement
2017-07-20 18:01:14 +01:00
Mike Jolley
dfd7aa78d5
Use class raw data, don't pass it
...
#16127 caused an issue with fields which don’t require passing args
e.g. esc_url_raw callback. This broke tests.
2017-07-18 14:20:14 +01: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
Mike Jolley
2bc7f075f5
Make sure placeholders have or check for SKUS
...
Fixes #16119
2017-07-14 12:33:14 +01:00
claudiulodro
e4840f95c0
escape param wasnt added til php5.3
2017-07-12 14:25:23 -07:00
webspecnick
49ba871795
Add enclosure and escape arguments to importer. Introduce filter to change importer arguments ( #16053 )
...
* Introduce woocommerce_product_csv_importer_args filter.
* Add extra args to WC_Product_CSV_Importer. Have fgetcsv use extra args
* Update to follow coding standards.
2017-07-12 12:11:44 +01:00
claudiulodro
03403b2c44
Allow times in date fields
2017-07-10 09:19:59 -07:00
Mike Jolley
b91da6f021
Change how mapping is posted
2017-07-06 18:51:36 +01:00
Claudio Sanches
cf12271398
Merge pull request #15934 from woocommerce/fix/15917
...
Convert data to UTF-8 on import
2017-07-04 12:20:17 -03:00
Mike Jolley
eb5c6d688b
Added method to escape commas in CSV values
2017-07-03 14:47:48 +01:00
Mike Jolley
655fc002ed
Convert data to UTF-8 on import
...
Fixes #15917
2017-07-03 12:07:07 +01:00
Mike Jolley
e937047d04
Skip non existing rows on merge
2017-06-28 12:06:33 +01:00
Manos Psychogyiopoulos
c8e166f706
Add woocommerce_product_importer_formatting_callbacks filter
2017-06-27 01:49:18 +03:00
Manos Psychogyiopoulos
7778bf894e
Allow DRY product importer integration
2017-06-26 23:49:48 +03:00
Claudiu Lodromanean
a05252753f
Merge pull request #15790 from woocommerce/fix/15781-2
...
Remove BOM signature from imported results
2017-06-26 12:49:59 -07:00
Claudio Sanches
ec1500d1b7
Remove BOM signature from imported results
...
Fix missing mapping for ID column
2017-06-26 16:08:05 -03:00
Mike Jolley
afd43b3b78
Look for mapped ID when parsing ID field
2017-06-26 18:41:51 +01:00
Mike Jolley
496b741d1c
Create placeholder when mapping relative ids
2017-06-26 17:40:20 +01:00
Mike Jolley
8f70ebc1b5
woocommerce_product_importer_before_set_parsed_data
2017-06-22 12:19:19 +01:00