Is there a way to make "Display Product Manufacturer Name" into "Display Product Manufacturer Name"
Basically, in the product listing, instead of saying the name of the Manufacturer, id like it to show the Manufacturer logo instead
Any ideas ?
Is there a way to make "Display Product Manufacturer Name" into "Display Product Manufacturer Name"
Basically, in the product listing, instead of saying the name of the Manufacturer, id like it to show the Manufacturer logo instead
Any ideas ?
In includes/templates/YOUR_TEMPLATE/templates/tpl_product_info_display.php, change this (around line 122):
to this:PHP Code:
<?php echo (($flag_show_product_info_manufacturer == 1 and !empty($manufacturers_name)) ? '<li>' . TEXT_PRODUCT_MANUFACTURER . $manufacturers_name . '</li>' : '') . "\n"; ?>
BrandTimPHP Code:
<?php echo (($flag_show_product_info_manufacturer == 1 and !empty($manufacturers_name)) ? '<li>' . TEXT_PRODUCT_MANUFACTURER . zen_image(DIR_WS_IMAGES . zen_get_products_manufacturers_image((int)$_GET['products_id']), $manufacturers_name) . '</li>' : '') . "\n"; ?>
thanks
do you knwo how do I change the logo size on the product listing ?
BrandTimCode:<?php echo (($flag_show_product_info_manufacturer == 1 and !empty($manufacturers_name)) ? '<li>' . TEXT_PRODUCT_MANUFACTURER . zen_image(DIR_WS_IMAGES . zen_get_products_manufacturers_image((int)$_GET['products_id']), $manufacturers_name, YOUR_WIDTH_HERE, YOUR_HEIGHT_HERE) . '</li>' : '') . "\n"; ?>
Bookmarks