Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Assign different product listing templates by category

Assign different product listing templates by category

Locked

Views: 2,440

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
16 May 2008, 9:58 PM
#1
docrocks avatar

docrocks

Zen Follower

Join Date:
Jun 2005
Location:
Massachusetts
Posts:
148
Plugin Contributions:
0

Assign different product listing templates by category

I'm changing a site from static (https://www.prestonribbons.com) to Zen Cart (https://www.prestonribbons.com/catalog). The product_listing.php template filew was modified (disclaimer - by someone much more skillful than me) to display sizes in the Ribbon Catalog category (example - http://prestonribbons.com/catalog/index.php?main_page=index&cPath=17_1) to be the same as in the static site. Other Zen Cart categories have different product size info that won't work in the modified layout (example from static site - http://prestonribbons.com/pets.htm).

Before I get in way over my head I would like to know if there is a way to assign different product listing templates to different categories without massive rewrites of the code?

Thanks

17 May 2008, 5:22 AM
#2
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Assign different product listing templates by category

Maybe possible using stylesheet in conjunction with
posts at url below
http://www.zen-cart.com/forum/showthread.php?t=41402
i.e. different stylesheets for different categories