Page 1 of 1

Database structure of Categories

Posted: Fri Mar 26, 2010 11:34 pm
by kenlyle
Hi!

I am importing Categories from another shopping cart.

I have hundreds of Categories in the database, but nothing showing in my shop.

What is the deal with the Top category, I see a lot of my imported items pointing to Category 0 as the parent.

So, just creating a Category 0 should be enough?

Thanks!

Re: Database structure of Categories

Posted: Sat Mar 27, 2010 1:16 pm
by rph
Yes, it should be. Having a parent_id of 0 makes it a sort of "root" category (that is, it's not a subcategory).

If you're having problems I'd check category_to_store first. If the category isn't assigned to an active store_id it won't show up.

Re: Database structure of Categories

Posted: Sun Mar 28, 2010 1:19 am
by kenlyle
Thanks, Ryan.

That did work.

Best,
Ken