Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Jun 2007
    Posts
    72
    Plugin Contributions
    0

    Default 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

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default 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!

  3. #3
    Join Date
    Jun 2007
    Posts
    72
    Plugin Contributions
    0

    Default 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

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default 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!

  5. #5
    Join Date
    Jun 2007
    Posts
    72
    Plugin Contributions
    0

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

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

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default 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!

 

 

Similar Threads

  1. How to hide categories with no active products?
    By tj1 in forum Setting Up Categories, Products, Attributes
    Replies: 82
    Last Post: 6 May 2020, 09:27 PM
  2. v150 how do i hide sub categories with no products listed
    By alibaba99 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 28 Jan 2017, 06:19 PM
  3. How can I hide sub sub categories of a category in left sidebox?
    By X-Bumble in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 15 Feb 2012, 07:11 PM
  4. Hide Categories with 0 Products
    By Semenek in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 4 Sep 2010, 05:44 PM
  5. Only active category with sub-categories in sidebox?
    By jarsa in forum Templates, Stylesheets, Page Layout
    Replies: 14
    Last Post: 3 Nov 2007, 06:29 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg