Zen Cart Logo
Forums / All Other Contributions/Addons / changing templates per category

changing templates per category

Locked

Views: 720

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
13 Feb 2010, 5:19 PM
#1
mxmerch avatar

mxmerch

New Zenner

Join Date:
Oct 2006
Posts:
39
Plugin Contributions:
0

changing templates per category

i realize this might have been answered already...but i've done at least 100 searches this morning and have yet to nail down the correct keywords...

i've been a long-time zen cart user and am about to start a brand new store that i want to make 100% perfect. what would make it perfect is the ability change templates for each category. for example, led zeppelin and the who would each have their own template design - using top level categories would define the template to be displayed.

fyi - this ONE little idea has turned me away from almost EVERY shopping cart out there (yes, even most of the pay ones) - i've been researching for days.

anyway, all templates would be based on the same layouts to make things a bit more sane - but each could theoretically have completely different logos, colors, fonts, etc, etc, etc.

does anyone know of a mod or simple code hack that could accomplish this? it seems like it could be a pretty simple php code modification.

13 Feb 2010, 6:06 PM
#2
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: changing templates per category

mxmerch:

i realize this might have been answered already...but i've done at least 100 searches this morning and have yet to nail down the correct keywords...

i've been a long-time zen cart user and am about to start a brand new store that i want to make 100% perfect. what would make it perfect is the ability change templates for each category. for example, led zeppelin and the who would each have their own template design - using top level categories would define the template to be displayed.

fyi - this ONE little idea has turned me away from almost EVERY shopping cart out there (yes, even most of the pay ones) - i've been researching for days.

anyway, all templates would be based on the same layouts to make things a bit more sane - but each could theoretically have completely different logos, colors, fonts, etc, etc, etc.

does anyone know of a mod or simple code hack that could accomplish this? it seems like it could be a pretty simple php code modification.

You can use specific stylesheets for each category.

for instance "led zeppelin" has a category id of 8.

c_8.css would be the stylesheet for this category.

You can add only the declarations necessary for this category.
i.e. colors, fonts, images etc.

13 Feb 2010, 6:11 PM
#3
mxmerch avatar

mxmerch

New Zenner

Join Date:
Oct 2006
Posts:
39
Plugin Contributions:
0

Re: changing templates per category

that's great. let me see if i can wrangle all the pertinent template info into the css. 8-)

thanks.