Zen Cart Logo
Forums / Customization from the Admin / Categories only on main page without products appearing please

Categories only on main page without products appearing please

Views: 843

Results 1 to 3 of 3
27 Oct 2012, 7:25 PM
#1
winston56 avatar

winston56

New Zenner

Join Date:
Oct 2012
Posts:
1
Plugin Contributions:
0

Categories only on main page without products appearing please

I have got categories on the main page with image icons that I am happy with, but products are also on the page. I just want a page of categories to link to product pages. It seems the normal way.

Help would be great.
Cheers.

27 Oct 2012, 7:26 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Categories only on main page without products appearing please

A link to the site would be great.

12 Nov 2012, 12:38 PM
#3
dturnertms avatar

dturnertms

New Zenner

Join Date:
Nov 2012
Posts:
18
Plugin Contributions:
0

Re: Categories only on main page without products appearing please

If you are using the default template then the content of the centre section of the screen is defined by the page :

www.yourdomain/zen-cart/includes/languages/english/html_includes/classic/define_page_2.php

This will be the case for when a user first reaches your Zen-Cart web-site and is effectively the Home Page.

When the user picks a category though, if it is a bottom level category, then the products will automatically display in the centre section for that category unless you get someone to so some programming to do a re-direct. It is normal though that when a user picks on a bottom-level category the products will display.

If however you want the above but don't like the higher level categories displaying content in place of the Home Page then one way you could stop this happening is to modify slightly the code page at :

www.yourdomain/zen-cart/includes/templates/template_default/sideboxes/tpl_categories.php such as to make the higher level categories static and non-links. I have example of this page if you want + site in operation (but it won't include your icons etc)