Commit Graph

100 Commits

Author SHA1 Message Date
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
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 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
Mike Jolley c5d7dfba6c Feedback 2017-05-23 19:46:46 +01:00
Mike Jolley b1a5b23629 Done screen handling and form tweaks 2017-05-23 15:05:32 +01:00
Claudio Sanches ac304473c7 Allow external URL and button text for external products 2017-05-22 20:18:39 -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
claudiulodro 57c4d904bd Type 2017-05-19 12:43:40 -07:00
claudiulodro cb297ad1b0 Add skip existing option 2017-05-19 10:58:31 -07:00
Mike Jolley e860a8d307 Abort if we have no mapping data 2017-05-19 14:59:05 +01:00
Mike Jolley aeb3234ec6 Formatting 2017-05-19 14:33:40 +01:00
Claudio Sanches 33da6e16de Start handle parsed data 2017-05-18 21:19:01 -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
claudiulodro 83908bc735 Move file functions to abstract class 2017-05-18 09:59:40 -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 365fbb5c3b Moved main methods to abstract class 2017-05-16 01:43:45 -03:00
Claudio Sanches 966090044d Variation support 2017-05-16 01:22:00 -03:00
Claudio Sanches 020e61927b Created abstract product class 2017-05-16 01:02:46 -03:00
Claudio Sanches 09cf382d29 Initial code to create/update in the CSV importer 2017-05-15 20:23:44 -03:00
Claudio Sanches 121f8f6315 Abstract the product importer 2017-05-15 19:49:53 -03:00