Jump to content

Custom page template by categories


Glenstorm

Recommended Posts

Is it possible to assign a different page template for different categories?  For instance, we want to sell some tickets to an event on our shop. It would be helpful to organize the details and customization sections differently than the normal products. 

Thanks

Link to comment
Share on other sites

Thanks for the response.

I found that page but I'm not sure how to implement it.
It seems that if I want a custom template for a product with ID=6  that I would create the custom template at:

catalog/product-6.tpl


I don't see how to make that work for every product in a category though.  
Would I use an if statement to check for the category in a custom template at:

catalog/listing/product.tpl

and have two different blocks embedded in that template?
 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...