Forums / Templates, Stylesheets, Page Layout / Add Manufacturer image to Manufacturer product page

Add Manufacturer image to Manufacturer product page

Locked

Started by vito on 23 Jul 2010, 4:05 PM · Views: 1,174

Results 1 to 1 of 1
This thread is locked. New replies are disabled.
23 Jul 2010, 4:05 PM
#1
vito avatar

vito

Zen Follower

Join Date:
Mar 2006
Posts:
182
Plugin Contributions:
0

Add Manufacturer image to Manufacturer product page

I recently learned how to add the manufacturer's logo to a product info page with the following:

<?php echo (($flag_show_product_info_manufacturer == 1 and zen_get_products_manufacturers_image((int)$_GET['products_id']) != '' ) ? '<a href="' . zen_href_link(FILENAME_DEFAULT, 'manufacturers_id=' . $product_info->fields['manufacturers_id']) . '">' . zen_image(DIR_WS_IMAGES . zen_get_products_manufacturers_image((int)$_GET['products_id'])) . '</a>' : ''); ?>

That works great. I would like to know what edited version of this code I should use to add the manufacturer's logo to the manufacturer's product page. For instance, I currently have a sidebox with all manufacturers in a drop down menu. When I select one, it displays a page with all products from this manufacturer. What I would like is at the top left corner of that page, I want to see the manufacturer's logo.

How do I edit the code above for this purpose?

Vito