Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Change Layout On One Product Only?

Change Layout On One Product Only?

Locked

Views: 1,654

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
21 Dec 2008, 2:30 PM
#1
sabba avatar

sabba

New Zenner

Join Date:
Jan 2008
Posts:
6
Plugin Contributions:
0

Change Layout On One Product Only?

Is there a way to change the order of the items on one particular product?

example: product id 54 to have the attributes at the top as apposed to all the other products which have them at the bottom?

I did look at a css override but i dont think that will work for me.

Any Ideas would be greatly appreciated.

Many Thanks

Jamie

22 Dec 2008, 11:52 PM
#2
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,768
Plugin Contributions:
9

Re: Change Layout On One Product Only?

in simple jargon,
you'd have to put an if in the file to look for the item's id and load a different layout for the item.

23 Dec 2008, 10:02 PM
#3
sabba avatar

sabba

New Zenner

Join Date:
Jan 2008
Posts:
6
Plugin Contributions:
0

Re: Change Layout On One Product Only?

Could you possibly tell me more? I am a bit of a novice.

23 Dec 2008, 11:17 PM
#4
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,768
Plugin Contributions:
9

Re: Change Layout On One Product Only?

If you're not familiar with an if....else statement in PHP, you might want to advertise for help in the Commercial Help Wanted area.

24 Dec 2008, 6:19 AM
#5
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Change Layout On One Product Only?

You can also use a different product type for that specific item, for example if you choose to us document type then that product will use the template file for document product type.

27 Dec 2008, 3:48 PM
#6
sabba avatar

sabba

New Zenner

Join Date:
Jan 2008
Posts:
6
Plugin Contributions:
0

Re: Change Layout On One Product Only?

Thank you very much, A different product type is what I will use.

Many thanks for your help dbltoe & yellow1912