Skip to content

Magento: Get Product Attribute Data Dropdown & Text

for attribute type “text field” : $_product->getData(‘attribute_code’)
for attribute type “dropdown” : $_product-getAttributeText(‘attribute_code’)

Share

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *