Jump to content

How to display Supplier logo on Product Comparison page


Recommended Posts

I truly need ya'll help asap. I want my site to display Supplier logo of each product on the Product Comparison page (i.e the result of the comparison will display supplier logo of each product)

i already have a theory code : <img src="{$img_sup_dir}{$product.id_supplier|escape:'htmlall':'UTF-8'}.jpg" class="logo_supplier" title="{$product_supplier->name}" alt="{$product_supplier->name}" />

but where do i put it?

Help please.

Link to comment
Share on other sites

Hi

 

I didn't test your code but you should probably put it just above the below code in the products-comparison.tpl under the folder themes>your theme:

 

<a class="cmp_remove" href="{$link->getPageLink('products-comparison.php')}" rel="ajax_id_product_{$product->id}">{l s='Remove'}</a>

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...