Zen Follower
- Join Date:
- Jul 2004
- Location:
- The Netherlands, Wierden
- Posts:
- 423
- Plugin Contributions:
- 0
Manufacturer-link in the product_info
I want to have an image with link of my to my manufacturers products in the product_info
Like the sideboxes of manufacturers, when you click on the link you will get all the products of the manufacturer.
I've created now for the tpl_product_info.php an image with link for the manufacturers.....The image works great, but i can't get the manufacturers_id into the link.
This is what i've got:
<?php
if ($check_image = zen_get_products_manufacturers_image((int)$_GET['products_id'])) {
echo '<a href="' . zen_href_link(FILENAME_DEFAULT, 'manufacturers_id=' . $manufacturer_info_sidebox->fields['manufacturers_id']) . '">' . zen_image(DIR_WS_IMAGES . $check_image) . '</a>' . "\n" ;
} else {
echo 'NO IMAGE';
}
?>