Magento How to get dropdown attribute value in product page

Magento How to get dropdown attribute value in product page

Magento How to get dropdown attribute value in product page.

Today we will discuss how to add drop-down attribute on product Page.

First Need to open file in below directory or folder path.

app/design/frontend/your_theme_name/default/template/catalog/product/view.phtml

<?php echo $_product->getAttributeText(‘attribute_code_here’);?>

Thanks

Leave a Reply

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