bexvlad Posted April 13, 2010 Share Posted April 13, 2010 I want to apply different page layouts or designs for different types of product. I have no problem making a copy of product.tpl, renaming it and editing it (I assume I would also need to create an new corresponding class) but I have no idea how I would then select style a or style be for a new product in the back end.Can anybody please help or point me to a thread where this is covered? Link to comment Share on other sites More sharing options...
aiteampl Posted June 6, 2012 Share Posted June 6, 2012 this is how i did it. ive edited product.tpl {if $product->id|intval==118 } {include file="$tpl_dir./product_edited.tpl"}{else} {include file="$tpl_dir./product_normal.tpl"} {/if} and you can have a specific design to a specific id of the product Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now