![]() |
display manufacturer's logo that was upload via backend
What is the code I would use to display the manufacturer's logo I uploaded via the backend?
I want to display it on this page; customer_manufacturer_products.tpl How would I go about this? |
Re: display manufacturer's logo that was upload via backend
It should be there already by default, the simplest code to display it would be:
<img src="{$manufacturer.image_url|amp}" /> Of course you should probably do some checking to see if they have an image and add an alt tag: Code:
{if $manufacturer.image ne ''} |
Re: display manufacturer's logo that was upload via backend
Nevermind. I found the code as follows to work;
<img src="{$xcart_web_dir}/image.php?id={$manufacturerid}&type=M"> I couldn't get anything else to work. |
Re: display manufacturer's logo that was upload via backend
Read up on webmaster mode - you have a way to see all the smarty variable contents that are available on any page. Different pages have different variables available by default. To add your own, you need to modify the php files.
--- |
All times are GMT -8. The time now is 07:17 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.