Results 1 to 5 of 5
  1. #1
    Join Date
    Oct 2007
    Posts
    105
    Plugin Contributions
    0

    Default Remove some Categories From Showing on the Main Page

    Hello~

    Hopefully just a quick question... I just can't seem to find an answer. I'm working on a site for a friend. She wants only certain categories to show on the main page. Not in the categories sidebox, she want's everything there. Example: she would like Gift Certificates to show in the sidebox but not in the "main page" when Categories-Always show on main page is turned on. There has got to be a place where I can enter the category ID to block that one from showing- I just can't find it. I've seen where I can block gift certificates from the "New Products" -

    Thanks for any ideas!
    Nancy

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Remove some Categories From Showing on the Main Page

    You can't block just one category from showing on the home page. If you set Main Page opens with ... to a category, that one will be shown; set it to 0 and they're all shown.

  3. #3
    Join Date
    Oct 2007
    Posts
    105
    Plugin Contributions
    0

    Default Re: Remove some Categories From Showing on the Main Page

    Thanks- However, I found a module called hidecategories and it's working for me- sort of. It blocks it in both the categories sidebox and the main page- not if you have categories turned on to show in the header- I'm about to see if I can figure out how to modify it so it won't block the sidebox.

    Now I think I've confused myself- but I'll get it!! Somehow, I've always managed to figure it with Zen Cart!!

  4. #4
    Join Date
    Oct 2007
    Posts
    105
    Plugin Contributions
    0

    Default Re: Remove some Categories From Showing on the Main Page

    Just to cover it- in case someone else needs it... I just removed the includes/templates/YOUR_TEMPLATE/sideboxes/tpl_categories.php that was included with the module.

    Works like a charm!

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

    Default Re: Remove some Categories From Showing on the Main Page

    You could customize the file:
    /includes/modules/category_row.php

    to skip the categories_id that you do not want displayed ...

    But as gjh42 mentioned, there isn't an automatic way to do this without customizing 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!

 

 

Similar Threads

  1. v154 Product categories showing on the main page center, how to remove
    By farrahscreations in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 8 Nov 2015, 04:37 AM
  2. Newbie - Remove categories from main page
    By Cebra in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 10 Jun 2011, 02:14 PM
  3. Remove text title from categories on the main page.
    By drgr33n in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 11 Oct 2010, 10:48 AM
  4. Remove main categories from showing on bottom of each page
    By mcpisik in forum General Questions
    Replies: 2
    Last Post: 19 Apr 2010, 11:27 AM
  5. How can i remove the categories from the main page?
    By boinkit in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 8 Feb 2008, 11:19 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