| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
display manufacturer's logo that was upload via backend | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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?
__________________
Version 4.4.3 |
|||||||
#2
|
|||||||||
|
|||||||||
![]() 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:
__________________
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. |
|||||||||
#3
|
|||||||
|
|||||||
![]() 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.
__________________
Version 4.4.3 |
|||||||
#4
|
|||||||||
|
|||||||||
![]() 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.
---
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold (CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module) |
|||||||||
|
|||
X-Cart forums © 2001-2020
|