cancel
Showing results for 
Search instead for 
Did you mean: 

How to showProduct Attributes in Magento 1.9 Frontend?

How to showProduct Attributes in Magento 1.9 Frontend?

How to showProduct Attributes in Magento 1.9 Frontend?

1 REPLY 1

Re: How to showProduct Attributes in Magento 1.9 Frontend?

Hi @iqbal700049,



Please be clear when you are writing a new post, and try to be as specific as possible (don't copy and paste the post title in the description, write a description for the post).

 

Regarding your question, I guess you are trying to get the attribute value in the front-end. You can use the following code:

$_product->getData("attribute_code");
or
$_product->getAttributeCode();

 

Best regards.
Gabriel

Welcome to the Magento Forums. Remember to introduce yourself and read the Magento Forums Guidelines.