I cannot create my products categories correctly on my magento store using magmi because my csv file is not compliant with magmi
my csv header is this:
Item Code,Price,Stock,Item Title,Category,Sub Category,Manufacturer,Part Number,Weight,Image,Warehouse,description one,description 2,EAN Number
SB-400-00,1.25,Sandberg Hard Back Case (Clear) for iPhone 4,Phones,Accessory,Sandberg,400-00,0.05,OR66300000242579.jpg,3,description one,Sandberg Hard Case for iPhone 4,5706595696
How I can play with Category,Sub Category to have the product in the correct subcat ?
- I try with value replace but I have no positive result.
- I try with On the fly category creator/importer no positive result too.
I have only the category without sub-cat.
Help will be appreciated.
You can configure a few Magmi plugins to format the data so that it can be processed correctly.
Make sure you have the On the fly category creator/importer enabled and the Tree level separator: configuration option set to
/
for the plugin.Enable the Column mapper plugin and add
Category,Sub Category
to the Mapped columns listFor the Category field (in the Column mapper plugin), enter:
category
For the Sub Category field (in the Column mapper plugin), enter:
subcategory
Your column mapper plugin configuration should look like this:
Enable the Value Replacer plugin and enter
categories
into the Replaced attributes field.For the categories field (in the Value Replacer plugin), enter:
{item.category}/{item.subcategory}
Your Value Replacer configuration should look like this:
Click Save Config and run your import.