Forums / Setting Up Categories, Products, Attributes / How to hide sub-categories with no active products?

How to hide sub-categories with no active products?

Locked

Views: 1,856

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
29 Aug 2007, 6:01 PM
#1
donplay avatar

donplay

New Zenner

Join Date:
Jun 2007
Posts:
72
Plugin Contributions:
0

How to hide sub-categories with no active products?

Hi All,

My structure is Category-> Sub-category 1 (inactive)-> Products (all inactive). Yet Sub-category 1 still shows up on the site.

Is there a setting in Zen Admin that would allow me to not display subcategories that are inactive when it is contains no active products? I will be getting them in stock later so prefer not to delete the products and/or sub category. I have both the sub category and all products marked as inactive now and the sub category still shows up.

I've tried the wiki and the forums with no luck...any help greatly appreciated.

thanks,
Don

29 Aug 2007, 6:19 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: How to hide sub-categories with no active products?

An inactive Category that has the RED icon does not show ...

If it is showing, check and see if you have some sort of add-on or change to your templates that has changed the code ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

29 Aug 2007, 6:23 PM
#3
donplay avatar

donplay

New Zenner

Join Date:
Jun 2007
Posts:
72
Plugin Contributions:
0

Re: How to hide sub-categories with no active products?

Thanks for the quick response, Ajeh.

So definitely a front-end/template issue and not a setting in the admin I may have screwed up?

gracias,
d

29 Aug 2007, 6:31 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: How to hide sub-categories with no active products?

IF you see the cute little RED icons on the Category you should not see it in the Catalog ...

Now if you have active Products, those active Products will show on searches, sideboxes, centerboxes, etc. etc. etc.

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

29 Aug 2007, 7:10 PM
#5
donplay avatar

donplay

New Zenner

Join Date:
Jun 2007
Posts:
72
Plugin Contributions:
0

Re: How to hide sub-categories with no active products?

ok...I'll have to dig into the template. Thanks!

29 Aug 2007, 7:20 PM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: How to hide sub-categories with no active products?

Try switching to the Classic Template ... does it work?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!