Zen Cart Logo
Forums / Basic Configuration / Remove some Categories From Showing on the Main Page

Remove some Categories From Showing on the Main Page

Locked

Views: 1,444

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
13 Aug 2009, 4:07 PM
#1
ladyink avatar

ladyink

Zen Follower

Join Date:
Oct 2007
Posts:
105
Plugin Contributions:
0

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

13 Aug 2009, 5:13 PM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

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.

13 Aug 2009, 5:44 PM
#3
ladyink avatar

ladyink

Zen Follower

Join Date:
Oct 2007
Posts:
105
Plugin Contributions:
0

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

13 Aug 2009, 5:48 PM
#4
ladyink avatar

ladyink

Zen Follower

Join Date:
Oct 2007
Posts:
105
Plugin Contributions:
0

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!

13 Aug 2009, 5:50 PM
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

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 ...