Claudio Sanches
0ac857f049
Fixed PHP notice in WC_Product_CSV_Importer_Controller->handle_upload
...
Fixed notice:
```
PHP Notice: Only variables should be passed by reference in includes/admin/importers/class-wc-product-csv-importer-controller.php on line 298
```
2018-04-04 15:50:08 -03:00
Rodrigo Primo
73cb1663ec
phpcs fixes in includes/admin/importers/class-wc-product-csv-importer-controller.php
2018-03-09 17:24:44 -03:00
Rodrigo Primo
23b69eba53
Use phpcbf to fix coding standard violations in includes/admin
...
After using phpcbf to fix the coding standard violations, I did some manual adjustments to the changes, especially in poorly indented files.
2018-03-05 16:21:35 -03:00
Claudio Sanches
ffd7915d49
Make sure that option is an array
2018-02-28 16:46:52 -03:00
Claudio Sanches
de804dbe7b
Make sure that user saved mapping preferences are applied after all filters
2018-02-28 16:40:26 -03:00
Claudio Sanches
3ca1139cf9
Sanitize mapping before save
2018-02-28 16:36:35 -03:00
Claudio Sanches
8500000da7
Updated user option key
2018-02-28 16:04:20 -03:00
Caleb Burks
83c1e70d00
Fix docs type
2017-12-11 23:12:53 -06:00
Caleb Burks
c7a583e5c1
Add CSV import option to use previous mapping
2017-12-09 02:58:07 -06: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
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
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
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
6d098b9c21
Clean up and some tests
2017-05-25 08:41:11 -07:00
Mike Jolley
28d355948f
docblock
2017-05-24 19:11:16 +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