View Single Post
  #2  
Old 09-29-2011, 11:24 PM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default 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 ''} <img src="{$manufacturer.image_url|amp}" alt="{$manufacturer.manufacturer|escape}" /> {/if}
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote