View Single Post
Old 03-12-2011, 06:35 AM
7thdesire 7thdesire is offline

Senior Member
Join Date: Sep 2006
Posts: 115

Default Re: Manufacturer Name in products_list.tpl


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

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
Reply With Quote