Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2006
    Location
    Surprise Arizona
    Posts
    76
    Plugin Contributions
    0

    help question "Invisible" category

    Can any of the PHP experts give me a mod to category_tree.php that will cause a category (and all of its sub-categories and contained products) named "invisible" to not be displayed in the normal list of categories displayed in the categories sidebox.

    I want to use this special category to enter subcategories and products, via the administrative interface, that will only be accessible if the product is referenced by html in internal or external link. I want to use this category to offer specials to select customers or to offer additional Free Shipping products when a buyer has selected a product from the same distribution warehouse.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: "Invisible" category

    Why not just disable the category, and then manually re-enable all the products inside it? That will cause it not to be listed.
    .

    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.

  3. #3
    Join Date
    Oct 2006
    Location
    Surprise Arizona
    Posts
    76
    Plugin Contributions
    0

    help question Re: "Invisible" category

    Thanks Dr..

    Do you have a solution just as easy to prevent products in my "invisible" category(s) from showing up in the "New Items' and "All Products" lists?

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

    Default Re: "Invisible" category

    You can change the products_date_added to older than your New Product Limit setting in the Maximum Values ...

    But for the All Products you would need to customize the select statement so that it ignores products where the categories_id is exclued from the select ...
    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. Replies: 1
    Last Post: 10 Aug 2011, 02:07 AM
  2. How to remove sub-category "featured products" & "category image"?
    By andrewcklau in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 24 Jun 2010, 10:32 AM
  3. How to delete links of "item name" and "price" in category list page?
    By rainmist in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 10 May 2010, 06:26 AM
  4. Admin Area - Make the "Configuration" tab invisible?
    By moomo in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 12 Jan 2010, 09:11 PM
  5. Replies: 0
    Last Post: 27 May 2009, 06:59 PM

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