Commit Graph

138 Commits

Author SHA1 Message Date
Mike Jolley 5a8cdb1ded Update wording for #17968 2017-12-05 13:31:42 +00:00
Gerhard Potgieter 956db3c8da Change input to button for submit in html-product-csv-import-form.php 2017-11-06 15:15:31 +02:00
Gerhard Potgieter 56ddba9745 PHPCS fixes for html-product-csv-import-form.php 2017-11-06 15:14:35 +02:00
Gerhard Potgieter 01e4778d61 Change input to button for submit in html-csv-import-mapping.php 2017-11-06 15:12:28 +02:00
Gerhard Potgieter 844661230b PHPCS fixes for html-csv-import-mapping.php 2017-11-06 15:11:15 +02:00
Gerhard Potgieter bb9a29da85 Change input to button for submit in class-wc-tax-rate-importer.php 2017-11-06 15:06:15 +02:00
Gerhard Potgieter fbe7a1e2a2 PHPCS fixes for class-wc-tax-rate-importer.php 2017-11-06 15:05:13 +02:00
Claudio Sanches 6782cfaca5 Fixed how apply strtolower in columns names in the importer auto map
Now apply for all columns names, even when added by the filters.
2017-10-26 08:20:06 -02:00
Claudio Sanches 0c6392eeef Display error message when it's impossible to get a sample of the file.
When the file is empty or using an incorrect charset will display just an empty screen, since we output errors before check if the file is valid.

I included the error output inside the mapping step in order to fix this issue, and added a new option to display buttons after the error  message.

Closes #16928
2017-09-26 17:48:37 -03:00
Claudio Sanches b68b4eeb6b Fixed 'Download %d URL' string 2017-09-25 14:14:55 -03:00
Claudio Sanches 9fc6615909 Removed new translatable string introduced in #16843
Fixes #16843
2017-09-25 14:13:50 -03:00
claudiulodro 9d8e308a78 Make importer columns case-insensitive 2017-09-17 10:18:03 -07:00
Dharmesh Patel d877ab31c5 Apply filter on product csv importer steps. 2017-09-13 23:56:15 +05:30
Claudio Sanches 7ad0dd55f9 Allow import 'menu_order' 2017-08-22 17:22:39 -03: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
Mike Jolley b91da6f021 Change how mapping is posted 2017-07-06 18:51:36 +01:00
Daniel Hüsken d6377c9609 will improve #15806 2017-06-27 14:43:51 +02:00
Daniel Hüsken 84881c3e36 Importer fix file type detection on local path 2017-06-27 14:21:05 +02:00
Claudio Sanches 783f2318c4 Fixed undefined variable for importer default mapping 2017-06-23 15:33:37 -03:00
Claudio Sanches 25a2ee0ca8 Use default English mapping when English is not the current language 2017-06-22 18:07:12 -03:00
Claudio Sanches 1806590e71 Invert special importer mapping options to allow multiple keys 2017-06-22 18:06:10 -03:00
claudiulodro fcd5460ec0 Check filetype in CSV upload 2017-06-21 11:50:03 -07:00
Mike Jolley 907b986d4f Tweak wording 2017-06-14 16:37:53 +01:00
Mike Jolley 393f1be092 Merge pull request #15580 from woocommerce/refactore/improve-importer-mapping-options
Better importer mapping options
2017-06-13 12:15:33 +01:00
Mike Jolley 1a6e477c83 Merge pull request #15579 from woocommerce/fix/importer-delimiter
Start handle importer delimiter
2017-06-13 11:57:10 +01:00
Umesh Ghimire b5cd0a8680 Space after parentheses 2017-06-13 09:52:27 +05:45
Claudio Sanches e6b5ac83c4 Better importer mapping options
- Rearranged fields to make easy to find
- Grouped price fields
- Include context to "Stock" since could means different things depending on the language
2017-06-12 18:08:23 -03:00
Claudio Sanches 2702647f88 Start handle importer delimiter
This make able handle the delimiter input passing to mapping screen and to the AJAX importation process.
2017-06-12 17:47:20 -03:00
Umesh Ghimire 71c22cadf1 Fixed - Directory separator issue on windows for product import file fixed. 2017-06-10 08:50:41 +05:45
Claudio Sanches b93d286985 Stop auto skip column map and remove all related code 2017-05-31 14:59:17 -03:00
Mike Jolley d8edc8a965 Always map 2017-05-31 15:07:07 +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
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 d6fb028481 Allow import and create new global attributes 2017-05-30 18:46:32 -03:00
Claudio Sanches 40c2b471f5 Grouped products after cross sells as in the admin screen 2017-05-30 14:50:54 -03:00
Claudio Sanches 73e34b583f Fixed generic stock mapping 2017-05-30 13:04:16 -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
Claudio Sanches 9556e248a4 Missing tax class 2017-05-30 12:52:29 -03:00
claudiulodro 7cf62bb023 Set up and add extra mappings 2017-05-29 11:16:44 -07: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 77fcaf3392 Fixed images map handler 2017-05-26 19:30:42 -03:00
Claudio Sanches 4bc139fef9 Fixed conflicts 2017-05-26 19:09:57 -03:00
Claudio Sanches 4d66bc9e45 Merge branch 'feature/product-csv-import-export' into refactor/fix-importer-and-improve-unit-tests 2017-05-26 19:07:46 -03:00
Claudio Sanches fe67ca0aff Fixed images mapping key 2017-05-26 18:58:35 -03:00
Claudio Sanches 780ce1a4e6 Fixed deprecated `set_stock` notice 2017-05-26 18:42:07 -03: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
claudiulodro df06d6f942 Merge remote-tracking branch 'origin/feature/product-csv-import-export' into HEAD 2017-05-25 12:41:26 -07:00