Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Subcategories not showing?

Subcategories not showing?

Views: 1,210

Results 1 to 5 of 5
19 Nov 2013, 1:54 PM
#1
limitless avatar

limitless

Inactive

Join Date:
Jan 2012
Posts:
496
Plugin Contributions:
0

Subcategories not showing?

Any idea why sub-categories under this category are not showing:

http://www. shtf-gear. com/firearm-accessories/ak-sks-accessories

Where as these are?

http://www .shtf-gear. com/firearm-accessories/ar-15-accessories

The sub categories are enabled and contain both linked and standalone products in both examples.

19 Nov 2013, 4:28 PM
#2
cvhainb avatar

cvhainb

Zen Follower

Join Date:
Sep 2008
Posts:
212
Plugin Contributions:
19

Re: Subcategories not showing?

I think you set sub-categories and products in this category. If it's correct, you need have to move all products.

20 Nov 2013, 2:35 PM
#3
limitless avatar

limitless

Inactive

Join Date:
Jan 2012
Posts:
496
Plugin Contributions:
0

Re: Subcategories not showing?

cvhainb:

I think you set sub-categories and products in this category. If it's correct, you need have to move all products.

There are no products in that main category, only sub categories.

Attachment 13374

20 Nov 2013, 4:08 PM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Subcategories not showing?

It looks like Zencart is trying to list products in that main category, thus the 'There are no products' message. Did you ever have a product in that category that may have not been successfully removed ?

20 Nov 2013, 9:34 PM
#5
limitless avatar

limitless

Inactive

Join Date:
Jan 2012
Posts:
496
Plugin Contributions:
0

Re: Subcategories not showing?

stevesh:

It looks like Zencart is trying to list products in that main category, thus the 'There are no products' message. Did you ever have a product in that category that may have not been successfully removed ?

I did have products in that category and finished building out and moving all of them into the subcategories.

When I do a search on the categories_id against the products_to_categories table, I get one products_id returned, but when I search on that products_id, it doesn't or no longer exists.

Deleted that non-existent product mapping in products_to_categories table and it started working.

Thanks for leading me in the right direction!