hello,
My shop is setup on Prestashop version 1.5.4.1.
I am trying to display the feature and values in the product listing page.
I have till now tried this:
added the below code to the product-list.tpl
{if isset($features) && $features}
{foreach from=$features item=feature}
{if isset($feature.value)}
<span>{$feature.name|escape:'htmlall':'UTF-8'} {$feature.value|escape:'htmlall':'UTF-8'}</span>
{/if}
{/foreach}
{/if}
within the <div class="content_price">
However it doesn't work!
After reading similar topics I believe that this should work.
I checked the product.php class file and found that in the getProductProperties the below line of code is already present, which should allow me to make the above hack in product-list.tpl.
$row['features'] = Product::getFrontFeaturesStatic((int)$id_lang, $row['id_product']);
Any help would be appreciated by this noob!