I currently display the manufacturers image on my product info page, In my tpl_product_info_display.php file I have the following coding which does this (I didn't particularly want to check that the image existed on the manufacturers table, because it always will, but it's the only bit of coding I could find that actually worked and displayed the image!):
<?php
$chk_manufacturers_image = zen_get_products_manufacturers_image($product_info->fields['products_id']);
echo (!empty($chk_manufacturers_image) ? zen_image(DIR_WS_IMAGES . $chk_manufacturers_image) : '');
?>
What I need to do now, is to go to the manufacturers_info.manufacturers_url when the manufacturers image is clicked on, could anyone help, please? (The manufacturers url is always present in the manufacturers_info table and the manufacturers image is also always present in the manufacturers table)
I've found this example on the net of how to add a url to an image but because I'm picking up the image from the manufacturers table and the url from the manufacturers_info table, I'm unsure what the relevant syntax would be for my coding!
<a href='http://www.......'><img src='/images/image_name.jpg'/></a>
Thanks!
Bookmarks