Jump to content

Add supplier logo to product page


Recommended Posts

Hi, I want to add the supplier and the manufacturer logo to my productpage. For the manufacturer logo, I have the following code (this already works): 

<a href="{$link->getPageLink('manufacturer')}"><img src="{$base_dir}img/m/{$product_manufacturer->id}-medium_default.jpg" alt="Merk"/></a>

How can I add a similar kind of code for the supplier logo? 

Hope anyone can help me :)

Link to comment
Share on other sites

Hi.

 

Almost the same way: you need to change the path, and get the supplier ID.

 

Regards.

 

Robin.

 

The CartExpert Team

 

Thanks for your reply. Can you help me with that?

 

This is the link to a supplier image: /img/su/4-medium_default.jpg

 

and the number, in this example 4, is the supplier ID. 

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