Product page show the category image
Hi,
Been searching this forum and found a how to show the category name on the product page, but I can't find what to change to get the category image showing.
This is the code from another post on here for showing the category title in a product:
{if $location}
{foreach from=$location item=l name=location}
{if $smarty.foreach.location.index == $smarty.foreach.location.total - 2}
<div class="backtocat">
<div class="label">
<a href="{$l.1|amp}"><div class="icon"></div>{$lng.lbl_back_to} {$l.0}</a>
</div>
</div>
{/if}
{/foreach}
{/if}
Can anyone offer advice on what needs changing to show the category image on product page?
I have also tried attempts using the code in subcategories_t.tpl and failed...
Version 4.6
__________________
Gold 4.4.4
|