When creating custom themes in magento we are indeed to get the product attributes in the template files.In this post i am showing you how to get product attribute in phtml file
you can Access the product attribute in the .phtml file like…
<?php $_product->getResource()->getAttribute('code')->getFrontend()->getValue($_product); ?>
Hope this helps you on how to get product attribute in phtml file
Leave a Reply