Currently Im using ho-nl/magento1-Ho_Import to import product information in Magento 1.9.2.
- I tried importing products using category path (eg: Computers/Keyboards) with success.
- Is there a way to import products in magento 1.9 using their category ID (eg: _category=1405)?.
I cannot find the answer in their github site or issues area. Any help appreciated.
EDITED---------------------------------------------------------- additional info. an example of a file that worked ok with category path:
_store,ho_import_profile,sku,_attribute_set,_type,store,_category,is_anchor,_product_websites,cost,price,location,country_of_manufacture,name,short_description,description,manufacturer,qty,weight,status,is_in_stock,tax_class_id,visibility,_media_attribute_id,_media_image,_media_lable,image,image_label,small_image,small_image_label,thumbnail,thumbnail_label,gallery,media_gallery
electronics,141565030710,Default,simple,admin,"Electronics/AV Accessories & Cables/Surge Protection & Filtration",Yes,base,98.94,98.94,"White Plains, New York",US,"Panamax M8-AV-PRO 8 Outlet Power Line Conditioner and Surge protector","Shop By Manufacturer Other Add my Store to your Favorites and receive my email newsletters about new items and special promotions! Panamax M8-AV-PRO …","Shop By Manufacturer Other Add my Store to your Favorites and receive my email newsletters about new items and special promotions! Panamax M8-AV-PRO 8 Outlet Power Line Conditioner and Surge protector --> Description Payment Information Shipping Information Terms & Conditions Item Condition: NEW Warranty: 1 year Brand: Panamax Features: total of 8 protected AC power outlets in two isolated banksi…",###EMPTY###,1,1,1,1,2,4,88,###EMPTY###,,/141565030710.jpg,"Panamax M8-AV-PRO 8 Outlet Power Line Conditioner and Surge protector",/141565030710.jpg,"Panamax M8-AV-PRO 8 Outlet Power Line Conditioner and Surge protector",/141565030710.jpg,"Panamax M8-AV-PRO 8 Outlet Power Line Conditioner and Surge protector",,
ANSWER-------------------------------------------------------------------
using '_category' => array(1, 3),
if you want to assign products to multiple categories or
'_category' => '3'
, for single category must work.