Welcome to the PrestaShop Forum! We hope you'll share your comments and suggestions with us. We ask that you please post in English to the main sections of the PrestaShop Forum. If you want to write in another language, please post in the corresponding PrestaShop Community section below.
Please note that PrestaShop Community sections are largely self-moderated. PrestaShop team members may or may not participate in non-English sections. To improve the chances of receiving feedback to your question or comment, please post it in English to the main sections of our Forum.

Vous parlez français ? par ici !
Please note that PrestaShop Community sections are largely self-moderated. PrestaShop team members may or may not participate in non-English sections. To improve the chances of receiving feedback to your question or comment, please post it in English to the main sections of our Forum.

Vous parlez français ? par ici !
[SOLVED] Manufacturer Logo on Product Page
Started by applestarz, Oct 23 2009 05:03 AM
[SOLVED] Manufacturer Logo on Product Page
#1
Posted 23 October 2009 - 05:03 AM
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
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
#2
Posted 26 October 2009 - 08:18 AM
Hello. I've found the solution for displaying the brand in the manufacturer page. Attached is the manufacturer.tpl. Feel free to use it!
Attached File(s)
manufacturer.zip (1bytes)
Number of downloads: 414
#4
Posted 10 November 2009 - 10:12 AM
No worries. =)
#5
Posted 14 November 2009 - 12:16 AM
Hi,
How to insert this image in product-list.tpl?
Thanks
How to insert this image in product-list.tpl?
Thanks
Jacobo
#6
Posted 14 November 2009 - 12:29 AM
Ok, i get it:
Jacobo
#7
Posted 14 November 2009 - 08:52 AM
Great!!!
Thanks for share it.
bye
Thanks for share it.
bye
:-) Mr Rem :roll:
#8
Posted 26 November 2009 - 12:06 PM
Hi everyone! The download above I have provided is to display the manufacturer logo in each manufacturer page. If you want to display the logo in each product's page, then please read this guide:
http://prestaportal....thread-437.html
Cheers
http://prestaportal....thread-437.html
Cheers
#9
Posted 27 November 2009 - 02:38 PM
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 :(
Maybe I missed something during configuration as I cannot find what would be causing the P or the H in the TPL file :(
#10
Posted 18 May 2010 - 09:53 AM
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!
Attached File(s)
Screen shot 2010-05-18 at 12.02.34.png (58bytes)
Number of downloads: 726
#11
Posted 24 June 2011 - 06:39 AM
From 1259329081:
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 :(
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.
Attached File(s)
manufacturer.zip (1bytes)
Number of downloads: 50
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users













