How to get Dropdown Attributes Magento

Get the Dropdown Attribute value in catalog list.

We saw How to get Attributes wich worked fine for text attributes.

Now if you want to get the dropdown attribute value:

<?php echo $_product->getAttributeText('attribute_name'); ?>
Code language: HTML, XML (xml)

Leave a Reply

Add <code> Some Code </code> if you need to.