How can I set the Category Parent ID during import

How can I set the Category Parent ID during import

Avatar image
Jul 18, 2013
gkom wrote
Hello,

The store manager doesn't ask for the Parent ID of a category when importing using a scv file.
How is this handled? Do I have to change the category's Name in the csv to include the parent i.e. Fruit|Bananas?

Please note that I need to issue specific IDs for the categories as opposed to getting an auto-incremented one by the system.

Thanks
Reply
1 Answer
Avatar image
Jul 19, 2013
Andrii Yanosh agent wrote
Hello Gkom!

Thank you for your post.

Yes, there is no need to specify the parent category ID, as the Store Manager takes into a count only the last category from the path.
For example:
ID 13;Home|Fruit|Bananas
That means that "Bananas" category id is "3"

Your .csv file must contain all category paths, like:
ID 1;Home - (Home id is "1")
ID 2;Home|Fruit - (Fruit ID is "2")
ID 3; Home|Fruit|Bananas - (Bananas ID is "3").

Also please note that if you use the Category ID as identifier, you can only update the existing categories. A new categories will not be created.