Display List Of All Manufacturers In Magento



Suppose you want to display the list of all the Manufactures. Use the code below to display the Manufacture
<?php
$product = Mage::getModel('catalog/product');
     
$attributes = Mage::getResourceModel('eav/entity_attribute_collection')
                  ->setEntityTypeFilter($product->getResource()->getTypeId())
                  ->addFieldToFilter('attribute_code', 'manufacturer');
 
$attribute = $attributes->getFirstItem()->setEntity($product->getResource());
$manufacturers = $attribute->getSource()->getAllOptions(false);
       
echo "<pre>"; 
	print_r($manufacturers); 
echo "</pre>";

?>

Hope this will helps. Thanks