| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
|
|
||||||||||
| X-Cart Home |
XCART 4.1.6 - Manufacturer logo in product page | |||
![]() |
|
||
|
|
Thread Tools | Search this Thread |
|
#1
|
|||||||
|
|||||||
|
I try to display a manufacturer logo in product page, but still doesn't work. I was wondering if someone can help me for the code.
Thanks in advance. I add this to product.php: $thisManufactorer = $product_info["manufacturerid"]; $manufacturer = func_query("SELECT * FROM $sql_tbl[manufacturers] WHERE manufacturerid = $thisManufactorer"); $smarty->assign("manufacturer", $manufacturer[0]["manufacturer"]); and this to product.tpl <img src="{$xcart_web_dir}/manufacturers.php?manufacturerid={$product.manufac turerid}" />
__________________
X-Cart Gold V4.1.6 |
|||||||
|
#2
|
|||||||
|
|||||||
|
This worked for me try this one
http://forum.x-cart.com/showthread.php?t=26034
__________________
Greg X-CART Gold 4.1.10 |
|||||||
|
|
|||
|
X-Cart forums © 2001-2020
|
|||