okay use the following
BEFORE in Product.php
PHP Code:
# Assign the current location line
$smarty->assign("location", $location);
ADD
PHP Code:
$thisManufactorer = $product_info["manufacturerid"];
$manufacturer = func_query("SELECT xcart_manufacturers.*, xcart_images_M.image_path, xcart_images_M.filename FROM xcart_manufacturers, xcart_images_M WHERE xcart_manufacturers.manufacturerid = xcart_images_M.id AND manufacturerid = $thisManufactorer");
$smarty->assign("manufacturer", $manufacturer[0]);
$smarty->assign("m_image_path", $manufacturer[0]["image_path"]);
and the following in you template
PHP Code:
{$manufacturer.manufacturer}
to show logo and link to manu in product page add the following to the template (extra option)
PHP Code:
<a href="manufacturers.php?manufacturerid={$product.manufacturerid}"> <img src="image.php?id={$product.manufacturerid}&type=M " alt="{$manufacturer}" /></a>