Add Brand or Manufacturer Logo To Product Description Page In Magento

Add the Code: template/catalog/product/view.phtml 
<?php 
	$brand=$_product->getAttributeText('manufacturer');
		echo '<a href="/'.str_replace(' ', '_',$brand).'"><img style="float: right; margin: 2px;" src="/media/catalog/brands/'.str_replace(' ', '_',$brand).'.gif" alt="'.$brand.'"></a>' ;

?>
Advertisements