Jump to content

[SOLVED] Manufacturer Logo on Product Page


Recommended Posts

Hi everyone!

I want to insert an image of the manufacturer's logo on each product. I think this is the code. Where do I insert it in product.tpl?


< img src=" {$img_manu_dir}{$product->id_manufacturer}.jpg " >



Also, what do I need to insert to display the manufacturer's logo in each manufacturer category?

Thanks a lot!
Kim

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...
  • 5 months later...

In case anyone is still not sure about this, here's a snapshot of my working code (which silly forum software can't strip). It includes a check to see if the product has a manufacturer, thereby avoiding 404 images, and also links the image to the manufacturer page. Thanks for the help!

23717_XBf2CpW4KoEeI0RRdplR_t

  • Like 2
Link to comment
Share on other sites

  • 1 year later...
Does anyone else find this leaves a little "p" under the image? (when using the English language pack) and an "H" (when using Russian).

Maybe I missed something during configuration as I cannot find what would be causing the P or the H in the TPL file :(


I understand what happens. It was the same thing for me. Actually the letters "p" or "H" and for me "a" and ">" were the first letter of the first word of the manufacturer description.

I changed a few things and it now works for me. Anyway, I'm not a programmer at all I just put my hands in and tried to make a few change, the result is that it now works for me. IF A REAL PROG COULD HAVE A LOOK TO BE SURE TO NOT SPREAD my mistakes, it would be great.

Hope this help.

manufacturer.zip

Link to comment
Share on other sites

  • 3 years later...
  • 1 year later...

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