Ok pretty straight forward on this one... I hope... all I'd like to do is display the image for the product's Manufacturer on all of my product listing pages instead of just the text for the product's manufacturer.
Unlike usual I know
where the code I want to alter is located, I just don't know
how it needs to be changed to do what I want.
Code from
catalog\includes\modules\product_listing.phpCode:
case 'PRODUCT_LIST_MANUFACTURER':
$lc_align = '';
$lc_text = ' <a href="' . tep_href_link(FILENAME_DEFAULT, 'manufacturers_id=' . $listing[$x]['manufacturers_id'] . $params) . '">' . $listing[$x]['manufacturers_name'] . '</a> ';
break;
I've been playing around with many different things and I thought initially that it might be as simple as just changing that little part that says ['manufacturers_name'] to ['manufacturers_image'] but that gave me nothing but a blank space.
I've also try to pull code out of the manufacturer_info.php file, specifically this part:
Code:
tep_image(DIR_WS_IMAGES . $manufacturer['manufacturers_image'], $manufacturer['manufacturers_name'])
and put it in the code above in many different ways but came up with no better results.
I'm sure I must be close but it's eluding me, anybody have any suggestions?