lechowski / 20.03.2021

product features in the category list / PS16 / tutorial #7


Adding the product features in the category list is a great tool to increase sales and show the customer the current product features. You only need to edit the product-list.tpl of your template, and put this code where you want (close to description tag in this example)


<p class="product-desc" itemprop="description">



and put:

<div class="pfeatures">

{foreach from=$product.features item=feature}


{$feature.name}: <span>{$feature.value}</span>




And you get the features in product list like in  the example:

You can add styles to the features adding a class .pfeatures to the custom.css of the template:

.features{text-align:left; font-weight:bolder}