cancel
Showing results for 
Search instead for 
Did you mean: 

Hide in "Browse By" side block product numbers if no products in that category

Hide in "Browse By" side block product numbers if no products in that category

I have an issue and I need help. I am using a tree of categories, the last category in the tree has products. All the others have only links to subcategories. Here is an example:

 

Category A 

--> Category B

----> Category B1

----> Category B1

-> Category C

----> Category C1

----> Category C2

 

Category A page has image links to category B and C. Categories B and C has image links to B1, B2 and C1, C2.

Only B1, B2 and C1, C2 have products. 

 

"Browse By" side block shows 0 products in a category without products inside (B and C). I would like to keep showing products numbers for categories but only for those which have products inside. If a visitor is going in a subcategory and seeing 0 products will not go inside.

 

I guess it is an if statement inside a file, but I need advice.

 

Thank you.

 

 

 

 

1 REPLY

Re: Hide in "Browse By" side block product numbers if no products in that category

This can be solved by using a check box when creating a category. If that category doesn't have products inside, only static blocks, you can select "Not show product numbers" (in case it is enabled). Based on this option in Browse By you won't get zero products for this category.

 

This is a lack feature for Magento and need a fix.