Jump to content

parent category


lucsar

Recommended Posts

Hi all,

I have to import my category/products from csv file supplied by my dropshipper.

In this file, category are listed like |aaa->bbb->ccc| and cannot be imported due the arrows (I use "category x, y, z ..." field)

Changing with |aaa-bbb-ccc| import goes well but I get a single link like this "aaa-bbb-ccc"

Instead, I need to have a menu list that I can open/collapse like this.

+aaa
+bbb
ccc


Thanks for your help

Link to comment
Share on other sites

You need to create a category CSV file like this:

Category ID;Parent Category ID;
2;aaa;1
3;bbb;2
4;ccc;3

This will make "aaa" a subcategory of the "Home" category, "bbb" a subcategory of "aaa" and "ccc" a subcategory of "bbb".


It works!! thank you!

Now, with this method I have to find all category listed like aaa->bbb->ccc in my csv file (4000 records) and add manually category and parent ID's for each accordingly. :(

I'm wondering if I can use XML file to get/import live feed from my dropshopper directly into my db
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...