Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Turn off sub category listing?

    Can you elaborate?
    Do you mean turn off the sidebox?

    Or just suppress the display of subcategory names under the selected cat?
    This can be done very quickly via CSS by adding this to your stylesheet:
    a.category-products {display: none;}

    If you want to prevent it from querying the database for the subcat details, you'll have to write custom code.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  2. #2
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Turn off sub category listing?

    Or just suppress the display of subcategory names under the selected cat?
    Yup

    This can be done very quickly via CSS by adding this to your stylesheet:
    a.category-products {display: none;}

    If you want to prevent it from querying the database for the subcat details, you'll have to write custom code.
    Nice. I guess we can go with the css methid.

    Thanks DrByte
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

 

 

Similar Threads

  1. v151 How to turn off left column for one category and all of its sub categories?
    By WayneStephens in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 8 Jul 2016, 07:50 PM
  2. How do I turn off "Buy It Now" button in category listing?
    By notageek in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 18 Oct 2010, 04:12 AM
  3. Turn Off Better Categories for Sub-Category
    By Craig Robbo in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 29 Jun 2009, 03:45 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