Magento: How to get Dropdown Attribute value

If you want to get the dropdown attribute value call method:

$_product->getAttributeText(‘example’)

Simple getter method

$_product->getExample

just return the id of the selected option.

Tags: , ,

Leave a Reply