Re: Manufacturer Name in products_list.tpl
use
product.php add
$thisManufactorer = $product_info["manufacturerid"];
$manufacturer = func_query("SELECT * FROM $sql_tbl[manufacturers] WHERE manufacturerid = $thisManufactorer");
$smarty->assign("manufacturer", $manufacturer[0]["manufacturer"]);
in template use
{$product.manufacturer}
in 4.3 i am not sure if you need todo the php anymore but this works for me on tacksales
__________________
X-cart - 4.3.2 loads of mods and custom code
|