Ismael Arguedas Posted March 23, 2015 Share Posted March 23, 2015 (edited) 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¡¡ Edited March 23, 2015 by Ismael Arguedas (see edit history) 1 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