Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / different product info pages for different categories

different product info pages for different categories

Views: 1,393

Results 1 to 4 of 4
12 Jul 2012, 7:27 PM
#1
twistedmilas89 avatar

twistedmilas89

New Zenner

Join Date:
Aug 2011
Posts:
17
Plugin Contributions:
0

different product info pages for different categories

Hey Guys,

Im looking for a method of applying different product info pages for different category IDs. How can i go about doing that?

Any information would be helpful.

Thank You
Home Linen Collections

12 Jul 2012, 7:41 PM
#2
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,081
Plugin Contributions:
56

Re: different product info pages for different categories

Define "different".

If you want different styling with similar content, the built-in zen-cart CSS handler will do that. Look in /includes/templates/classic/css/CSS_read_me.txt for details.

If you want different content, you'll need to modify /includes/templates/YOUR_TEMPLATE/tpl_product_info_display.php to check the value of the current category to make your category-specific changes.

12 Jul 2012, 8:03 PM
#3
twistedmilas89 avatar

twistedmilas89

New Zenner

Join Date:
Aug 2011
Posts:
17
Plugin Contributions:
0

Re: different product info pages for different categories

I would like the attributes to be in different locations and the description in different locations depending on what category the person is looking at. can i do that with CSS or the other method?

12 Jul 2012, 8:10 PM
#4
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: different product info pages for different categories

You sure you want to do this?

Shoppers like familiarity... each "level" of the shopping experience should follow strictly similar layouts. When stuff appears in different places, people get confused.