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

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

If my answer was useful, please give "Kudos" to this post.
If my answer helps you to resolve the problem, click on "Accept as Solution".