solution:
add to "modules\pages\product_info\main_template_vars.php"
Code:
$manufacturers_id= zen_get_products_manufacturers_id((int)$_GET['products_id']);
after
Code:
$manufacturers_name= zen_get_products_manufacturers_name((int)$_GET['products_id']);
and
in the tpl_product_info_display.php add the code where you want:
Code:
<?php
if ($check_image = zen_get_products_manufacturers_image((int)$_GET['products_id'])) {
echo '<a class="manufacturer" href="' . zen_href_link(FILENAME_DEFAULT, 'manufacturers_id=' . $manufacturers_id) . '">' . zen_image(DIR_WS_IMAGES . $check_image) . '</a>' . "\n" ;
} else {
echo 'NO IMAGE';
}
?>
My final question about this subject:
Is there a way to overide the "modules\pages\product_info\main_template_vars.php" te exclude this for futered updates
Bookmarks