Jump to content

Specific product-templates Prestashop 1.5.6


Recommended Posts

Hello everyone


I just started to work on my new prestashop store. I have a couple of questions and I would be very grateful if someone would know the answers.


1. Is it possible to use a defferent product-template for one specific product or for all products of a specific category and if so how?


2. How can I display the accessories of a product as a simple list (Product - Price - fild for quantity the client wants to order)? This should only concern accessories, not normal product-lists.


Thank you for your answers :)

Link to comment
Share on other sites

In regards to the first question, yes and it should be very easy. A simple if statement in the product.tpl file will work. Look in ProductController.php to find a variable you can use, you shouldn't need to change anything in the php file whether you want one product or an entire category of products.

Edited by richard655 (see edit history)
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...