Home » Magento10 May 2012

Magento: Get all attributes & attribute name value of a product

Here is a quick code to get all attributes and their name and value associated with any particular product.

First of all we have to load the product by it’s ID. And then get all it’s attributes. Here is the code:-

Get Name and Value of all attributes of a product

Get Name and Value of only frontend attributes of a product

Get Name and Value of any particular attribute of a product

Hope it helps. Thanks.

Magento

Get New Post by Email

Find me on

FacebookTwitterGoogle+LinkedInRSS Feed
  • Julio

    Hey Mukesh Chapagain. This is the most simle and practical way. Thank you very much. You save me

  • Nikhil Jaani

    Hey Mukesh,
    I can’t get name and Value of only frontend attributes of a product on product page.

  • cs5chester

    Thank you so much!!!

  • Robert Dagohoy

    Hello it is possible to show only attribute with Value because now i get all the attribute even without the value im just new to magento im using 1.9.2.4
    thank you