Jump to content

Display Category thumbnail on product in product-list.tpl


Recommended Posts

Made it :)

 

{if $category->id_image}
                            <img class="replace-2x" src="{$link->getCatImageLink($category->link_rewrite, $category->id_image, 'medium_default')|escape:'html':'UTF-8'}" alt="{$category->name|escape:'html':'UTF-8'}" width="{$mediumSize.width}" height="{$mediumSize.height}" />                        
                            {/if}

  • Thanks 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...