Extension - Product - display manufacturer logo

Extension Filter






Product - display manufacturer logo

Extension Name Product - display manufacturer logo Rating 1 2 3 4 5
License Free Votes 2
Developer sabbath Views 13884
Date Added 10 December 2010 Downloads 471
Date Modified 19 January 2011 Request Support
Report extension
How to display manufacturer logo on Product detail page.
Download Name Compatibility Action
changed files [ Download ]
install info [ Download ]


step 1) open /catalog/model/catalog/product.php
step 2) find the first(ver. public function getProduct($product_id) and insert into DB query this code
m.image AS manufacturer_logo

like this , p.image, m.image AS manufacturer_logo, m.name AS manufacturer, ....
SAVE and go to step 3

step 3) open /catalog/controller/product/product.php and find code like this
$this->data['model'] = $product_info['model'];
$this->data['manufacturer'] = $product_info['manufacturer'];

and insert new line
$this->data['manufacturer_logo'] = $product_info['manufacturer_logo'];
SAVE and go to step 4

step 4) open product.tpl in your theme for example:
/catalog/view/theme/default/template/product/product.tpl and insert code like this

<?php if ($manufacturer_logo) { ?>
<td><img src="<?php echo "/image/".$manufacturer_logo; ?>" width="125"></td>
<?php } ?>

That's all. If manufacturer has logo image, this image will be displayed.
If manufacturer has not logo, no image will be displayed.

Tags How, to, display, manufacturer, logo, on, Product, detail, page.

Hosted by Arvixe Web Hosting