Attribute in Magento is like a property. All Products, Categories, Orders, Customers, etc. have attributes. For example, the attribute of a product is its name, sku, description, image, etc. This article will show you how to get attribute name and value for any product. Get attribute’s name, value, type, and other parameters The attribute code in the case below is my_attribute . /** * get attribute collection */ $attribute = $_product ->getResource()->getAttribute( 'my_attribute' ); /** * get attribute type */ $attribute ->getAttributeType(); /** * get attribute Label */ $attribute ->getFrontendLabel(); /** * get attribute default value */ $attribute ->getDefaultValue(); /** * check if the attribute is visible */ $attribute ->getIsVisible(); /** * check if the attribute is req...