Commit Graph

11143 Commits

Author SHA1 Message Date
Claudio Sanches 60dd750a7b Handle product attributes 2017-05-24 04:32:28 -03:00
Claudio Sanches cd4a9ccf6a Fixed mapping sample display of 0 and false 2017-05-24 03:57:36 -03:00
Claudio Sanches c08d3a356e Added support "Attribute %d Visible" 2017-05-24 03:42:38 -03:00
Claudio Sanches 2c5c0133f3 meta_data is always an array 2017-05-24 03:35:53 -03:00
Claudio Sanches b10f3a3be9 Fixed coding standards 2017-05-24 03:26:17 -03:00
Claudio Sanches babc38822a Handle featured image and gallery 2017-05-24 03:14:54 -03:00
Claudio Sanches a07dc188d0 Parse and save downloads 2017-05-23 22:31:06 -03:00
Claudio Sanches f676fa2752 Update products and variations parser 2017-05-23 21:58:10 -03:00
Claudio Sanches 43a26ea851 Properly map items when CSV match WooCommerce exporter format 2017-05-23 21:38:27 -03:00
Claudio Sanches 2ebea10be6 Fixed tags and shipping class parsers warnings
wp_insert_term() returns array with `term_id` and `term_taxonomy_id` only.
2017-05-23 21:11:21 -03:00
Claudio Sanches d20c61678c Parser categories 2017-05-23 21:06:16 -03:00
Claudio Sanches ac304473c7 Allow external URL and button text for external products 2017-05-22 20:18:39 -03:00
Claudio Sanches 8d5f706077 Save meta_data 2017-05-22 19:31:05 -03:00
Claudio Sanches 7f92479f4f Create shipping class or tag if does not exist 2017-05-22 19:24:33 -03:00
Claudio Sanches 775a934b74 Parse shipping class ID and tags IDs 2017-05-22 18:54:30 -03:00
Claudio Sanches 4f16740f61 Parse special column names and internal fields 2017-05-19 18:50:09 -03:00
Claudio Sanches 8a7e215b41 Return raw_keys if mapped_keys is empty 2017-05-19 18:46:42 -03:00
Claudio Sanches e66a657a2e Removed "CSV" from filters and IDs 2017-05-19 18:45:58 -03:00
Claudio Sanches 33da6e16de Start handle parsed data 2017-05-18 21:19:01 -03:00
Claudio Sanches 2ba8e27469 Included required methods to the interface 2017-05-18 21:18:56 -03:00
Claudio Sanches ca083c6197 Skip reletive field if empty 2017-05-18 21:18:53 -03:00
Claudio Sanches 4c9d7ef02e Handle relative fields 2017-05-18 21:18:50 -03:00
Claudio Sanches 74b4ba8a94 Improved sanitization in product CSV importer and handle special columns 2017-05-18 21:18:47 -03:00
Claudiu Lodromanean a13668f201 Merge branch 'feature/product-csv-import-export' into feature/background-processing 2017-05-18 10:11:34 -07:00
claudiulodro 9d52ef9f61 Performance tweak 2017-05-18 10:05:31 -07:00
claudiulodro 83908bc735 Move file functions to abstract class 2017-05-18 09:59:40 -07:00
claudiulodro b2e8d31262 Clean up 2017-05-18 09:49:58 -07:00
Claudio Sanches 36fa838678 Allow extend auto mapping options 2017-05-17 21:10:26 -03:00
Claudio Sanches df63ea9b5a Handle special column names
Handle columns names like "Attribute 1 Name" and "Meta: _foo_bar".
2017-05-17 20:59:36 -03:00
claudiulodro 2ab0fdfe78 Styling 2017-05-17 14:55:20 -07:00
claudiulodro fa1446bc86 Clean up 2017-05-17 14:43:03 -07:00
claudiulodro 17083dafae Initial background importer implementation 2017-05-17 14:34:49 -07:00
Claudio Sanches d3ec48f378 Match regular fields between exporter and importer 2017-05-17 17:55:28 -03:00
Claudio Sanches ce6741e117 Fixed error display and incorrect use of WP_Error 2017-05-17 14:57:03 -03:00
Claudio Sanches 215a9fa0c1 Fixed warning about empty callback name 2017-05-17 14:43:48 -03:00
claudiulodro adc8f4eacb Use correct method name 2017-05-17 09:15:49 -07:00
claudiulodro d6ef3ca855 Docblock tweak and remove unused query var 2017-05-17 08:51:45 -07:00
Mike Jolley a6537ff269 export styling 2017-05-17 14:22:41 +01:00
Mike Jolley d67fb8fb83 New style import controller
Closes #15107
2017-05-17 14:16:38 +01:00
Mike Jolley bf2979f68d Revert change - export directory contains logic only, not admin 2017-05-17 11:50:55 +01:00
Mike Jolley 8a48c7d388 Made exporter and importer screens, classes and directories consistent
Once merged, @claudiosanches @claudiulodro, we should work on
https://github.com/woocommerce/woocommerce/tree/feature/product-csv-impo
rt-export branch going forward and get this merged into it.
2017-05-17 11:24:27 +01:00
Mike Jolley 3d5f1c1fe6 Merge branch 'feature/product-csv-import-export' into feature/csv-importer 2017-05-17 10:36:39 +01:00
Mike Jolley 5939939244 Wizard and blank state 2017-05-16 15:36:56 +01:00
Mike Jolley 7293025c92 Import page placeholder 2017-05-16 15:21:35 +01:00
Mike Jolley 2ba6613abe Hide export menu item 2017-05-16 15:21:29 +01:00
Mike Jolley 74e2f61f0c Import and export buttons 2017-05-16 15:06:22 +01:00
Mike Jolley 6949ee162e Reduce visual noise 2017-05-16 15:05:11 +01:00
Claudio Sanches 365fbb5c3b Moved main methods to abstract class 2017-05-16 01:43:45 -03:00
Claudio Sanches 1dc14690fb Improved interface including important methods 2017-05-16 01:43:15 -03:00
Claudio Sanches 966090044d Variation support 2017-05-16 01:22:00 -03:00