View Single Post
  #16  
Old 10-01-2005, 03:23 PM
 
weckie weckie is offline
 

eXpert
  
Join Date: Feb 2005
Location: Netherlands
Posts: 220
 

Default you have to add this

You have to add this to your product.php otherwise it won't work.
Code:
$manufacturer = func_query_first("SELECT manufacturer,image,image_type,manufacturerid FROM $sql_tbl[manufacturers] WHERE manufacturerid='$product_info[manufacturerid]'"); $smarty->assign("manufacturer", $manufacturer); { } $manufacturerid = func_query_first("SELECT manufacturerid FROM $sql_tbl[products] WHERE manufacturerid='$product_info[manufacturerid]'"); $smarty->assign("manufacturerid", $manufacturerid);{ }

right above
Code:
$smarty->assign("product",$product_info);

by default the manufacturer image is not called as a variable. I did it on my site and it works great.

good luck
__________________
Herman Steijn

Using: X-cart 4.5.4
AT: http://www.weckonline.com LIVE
Reply With Quote