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
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 Files
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
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 :(
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 Files
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.




Back to top











