Jump to content

Template with specific products and images


Recommended Posts

Hello,

 

I want to have a template for a specific category.For example for category X I want to display 2 products on same line and a picture.Or 1 product and 2 pictures.I'm new on prestashop and on woocommerce I know i have some functions that I can use to do something like this.Can someone help me to solve this problem? I will attach a photo to explain better what I need.

 

Thanks and I hope someone have a answer for me.

post-811594-0-19813600-1404768451_thumb.png

Link to comment
Share on other sites

Hi,

 

you could either do some .tpl coding right inside the product-list.tpl file, or you can use the .css file to change elements based on their category (the body class changes, it's category-id_category (that's a variable)). Other than this I can not think of a simpler solution.

Link to comment
Share on other sites

Yes but from css I can't change products. For example page www.shop.com/page1 will have some products from category A image1.jpg, image2,jpg  and www.shop.com/page2 will have products from category B and image3.jpg, image4,jpg.

 

My ideea is to creat a template file. for each page will be template-page1 template-page2 and inside file I want to call products with ID

something like that. This kind of option is on woocommerce.I think I'm not the only one how want something like that and will be great if togheter will find a solution for this problem.

Link to comment
Share on other sites

×
×
  • Create New...