Hi,
I tried to show category associations on each product listed on product list. (Presta 1.6.0.9, default bootstrap)
I tried insert this code in product-list.tpl but nothing changed:
{foreach from=Product::getProductCategoriesFull($product.id_product) item=category}
<div itemprop="category" itemscope itemtype="http://schema.org/Product">
<meta itemprop="name" content="{$category.name|escape:'html':'UTF-8'}" />
<meta itemprop="url" content="{$link->getCategoryLink($category.id_category, $category.link_rewrite)|escape:'html':'UTF-8'}" />
</div>
{/foreach}
Anyone knows how I can do it?
Thanks¡¡