Thanks ...
I got around it .. but required a little tweaking for it to work in version 4.1.0:
Added the following code within product.php:
Quote:
$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]["manufacturer"]);
$smarty->assign("m_image_path", $manufacturer[0]["image_path"]);
|
And then added the following within product.tpl
Quote:
{if $m_image_path ne ""}
[img]{$m_image_path}[/img]{/if}
{/if}
|
Regards
Shafiq :sK
__________________
Developing in 4.7.x now (Dipping into v5 - Slowly!)
Have used 4.1.x, 4.2.x, 4.4.x, 4.5.x, 4.6.x & 4.7.x
Multiple Instances of X-Cart
MySQL 5.6.37
CentOS 7.4
Chamber Internet - Lancashire, United Kingdom
http://www.chamberelancs.co.uk