Oliv de Viv Posted November 14, 2020 Share Posted November 14, 2020 Hello, I have troubles displaying a specific feature on the product page and product listing. It is a new install on Magamarket.fr with 1.7.6.8 version. I am using Warehouse template. I have found some turotials and threads but they are pretty old and nothing seems to work. Quite new to prestashop, so I am not sure if I am doing it correctly. Basically I want to display some features element as shown on the screenshot attached. I have created a child theme and I am editing the product.tpl file. Here is what I have tried : {extends file='parent:catalog/product.tpl'} {block name='product_prices' append} <div class="features"> {foreach from=$product.features item=feature} <div> <span>{$feature.name}: {$feature.value}</span> </div> {/foreach} </div> {/block} Please help ! 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