Ok, I've managed to do it :clap:.....It took me a while to figure it all out so for anyone else who wants to retrieve the manufacturers URl here's what you do.................
First, you need to add the following function to the end of /includes/functions/functions_lookups.php, just before the last '?>'
////
// Return the manufacturers URL in the needed language
// TABLES: manufacturers_info
function zen_get_manufacturer_url($manufacturer_id, $language_id) {
global $db;
$manufacturer = $db->Execute("select manufacturers_url
from " . TABLE_MANUFACTURERS_INFO . "
where manufacturers_id = '" . (int)$manufacturer_id . "'
and languages_id = '" . (int)$language_id . "'");
return $manufacturer->fields['manufacturers_url'];
}
Now you need to call the function from your product info page, which is file /templates/YOURTEMPLATE/templates/tpl_product_info_display.php
Find the code:
<?php echo (($flag_show_product_info_manufacturer == 1 and !empty($manufacturers_name)) ? '<li>' . TEXT_PRODUCT_MANUFACTURER . $manufacturers_name . '</li>' : '') . "\n"; ?>
and replace it with:
<?php
$manufacturers_url = zen_get_manufacturer_url(zen_get_products_manufacturers_id($products_id_current),$_SESSION['languages_id']);
echo (($flag_show_product_info_manufacturer == 1 and !empty($manufacturers_name) and empty($manufacturers_url)) ? '<li>' .
TEXT_PRODUCT_MANUFACTURER . $manufacturers_name . '</li>' : '<li>' . sprintf(TEXT_PRODUCT_MANUFACTURER . '<a href="%s" target="_blank">' .
$manufacturers_name . '</a>', zen_href_link(FILENAME_REDIRECT, 'action=url&goto=' . urlencode($manufacturers_url), 'NONSSL', true, false)) .
'</li>') . "\n";
?>
and you're done!