{foreach from=Product::getProductCategories($product.id) item=cat} {if $cat > 2} {assign var='current_cat' value=Category::getCategoryInformations(array($cat))} <li><b><a href="{$link->getCategoryLink({$cat})}" title="{$current_cat[{$cat}]['name']}">{$current_cat[{$cat}]['name']}</a></b></li> {/if} {/foreach}
Product categories in the Product Details
Ive been using the above code on v1.7.x however I am upgrading to v9 now, unfortunately getCategoryInformations() has been removed now. https://devdocs.prestashop-project.org/9/modules/core-updates/8.0/#removed-methods
Whats the replacement function/code?
.png.022b5452a8f28f552bc9430097a16da2.png)