Results 1 to 5 of 5
  1. #1

    Default No product - No category

    Zen Cart 1.3.7.1

    Database Patch Level: 1.3.7

    I have tried to find the answer but ......................

    Is there a setting to not display the category if there are no products in it?

    Mike

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: No product - No category

    Admin - Configuration - Layout Settings - Categories With 0 Products Status

  3. #3

    Default Re: No product - No category

    Thanks for the response but that switch just turns off the "(0)" display.
    I would like to not show the category in the list at all if there is no products.
    We sell exotic wood and under each main category is 100 specie categories - not all of which have products at a given time.
    Would like to not confuse and aggravate the customer by only displaying species that have stock
    Mike

  4. #4
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: No product - No category

    You're right - it looks like there isn't any way to do that automatically, but it would be just another couple of clicks to turn off the category when you turn off the last product.

  5. #5
    Join Date
    Dec 2008
    Posts
    57
    Plugin Contributions
    0

    Default Re: No product - No category

    Have you resolved this yet? I am not a true zenner and have done this for a shop I am working on, but my mod also wanted to not show the quantity of products in each category, but I have to turn this on so my code then prevents this from working. Activate or add a product and the category appears and when it becomes 0 active products it disappears again. Are you interested? About 3 lines of code in one program only.

 

 

Similar Threads

  1. v151 category, or sub-category product-list link in product page
    By keneso in forum General Questions
    Replies: 2
    Last Post: 5 Nov 2013, 08:25 PM
  2. v151 View a product/category in the catalog from a link in admin product/category listing
    By torvista in forum Customization from the Admin
    Replies: 4
    Last Post: 25 Jan 2013, 06:13 PM
  3. Displaying the latest product of a particular category into sub category
    By BB3G in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 16 Mar 2010, 09:38 PM
  4. One product in category view - can I skip single product category listings?
    By ImageNation in forum Customization from the Admin
    Replies: 5
    Last Post: 29 Sep 2008, 03:32 PM
  5. all product on top category, now i cannot create new category
    By tsakali in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 28 Dec 2007, 09:26 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR