Commit Graph

77 Commits

Author SHA1 Message Date
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
Frédéric Demarle d563842126 CSV Importer: Add action before a row is parsed 2017-06-21 16:49:21 +02:00
claudiulodro 1d3c4ebb4d Add flag for timeout checking 2017-06-14 11:35:22 -07:00
Claudiu Lodromanean b9842b6f21 Merge pull request #15615 from woocommerce/update/15576
Prevent memory and time limits in importer
2017-06-14 10:20:29 -07:00
Mike Jolley 0de65b3a8d Start time 2017-06-14 17:04:47 +01:00
Mike Jolley 8603e75b5e Create placeholders when importing products with an ID column and not updating 2017-06-14 16:37:07 +01:00
Mike Jolley 77cee56ae8 Prevent memory and time limits 2017-06-14 14:02:47 +01:00
Mike Jolley e185d5572b Merge branch 'feature/product-csv-import-export' into refactor/fix-importer-and-improve-unit-tests 2017-05-31 12:19:58 +01:00
Claudio Sanches 51ddc36080 Skip empty attributes and reset indexes 2017-05-30 19:26:31 -03:00
Claudio Sanches d6fb028481 Allow import and create new global attributes 2017-05-30 18:46:32 -03:00
Claudio Sanches fb81994855 Fixed downloads URLs in the CSV parser 2017-05-30 15:01:48 -03:00
Claudio Sanches ffd248f19d Merge branch 'feature/product-csv-import-export' into refactor/fix-importer-and-improve-unit-tests 2017-05-30 13:03:17 -03:00
claudiulodro 759fcae533 Use 'grouped_products' for grouped products 2017-05-28 12:37:18 -07:00
Claudio Sanches 6d54ae3504 Fetch product ID for temporary products only while processing the item 2017-05-26 19:57:31 -03:00
Claudio Sanches 3d5891e589 Fixed how backorders field is parsed 2017-05-26 19:39:20 -03:00
Claudio Sanches 0719746af2 Validate dates and use string format to use website timezone 2017-05-26 19:25:44 -03:00
Claudio Sanches 2eeb444eeb Properly set stock quantity 2017-05-26 18:53:22 -03:00
Claudio Sanches 02a27ae258 Fixed PHP Notice about undefined name for product attributes 2017-05-26 18:44:22 -03:00
claudiulodro 9b925d28ec Grouped product child support 2017-05-26 13:30:17 -07:00
claudiulodro 4a104f3202 Remove extra isset 2017-05-26 11:41:44 -07:00
claudiulodro d362d47995 Get external products working 2017-05-26 11:26:55 -07:00
Mike Jolley d9217b1d59 More tidyup 2017-05-26 16:54:43 +01:00
Mike Jolley 3a7f4884d8 Moved logic around and organised 2017-05-26 15:57:17 +01:00
Claudio Sanches 995aa89b84 Fixed shipping class parser 2017-05-26 12:27:06 +01:00
Mike Jolley ba305eacb5 Fix tests 2017-05-25 18:16:10 +01:00
Mike Jolley c31ab30391 Create temp objects to update later 2017-05-25 14:54:49 +01:00
Claudio Sanches da7d5786d3 Merge branch 'feature/product-csv-import-export' into feature/product-parser-match-exporter 2017-05-24 08:56:27 -03:00
Claudio Sanches b08c75fb83 Added handler for default attributes and improved how deal with product attributes 2017-05-24 08:14:10 -03:00
Claudio Sanches 86036d7040 Check for WP_Error while getting/creating tags and shipping classes 2017-05-24 06:47:12 -03:00
Claudio Sanches 60dd750a7b Handle product attributes 2017-05-24 04:32:28 -03:00
Claudio Sanches c08d3a356e Added support "Attribute %d Visible" 2017-05-24 03:42:38 -03:00