how to rename the attribute’s label for front-end Magento

Sometime there need to be a situation to change the default attributes name for the front-end. In that case the all of the custom theme don’t have the pre-work for this. We have to make it with replace the following code ….

/view/type/options/configurable.phtml in line 35 for my case

if the file not there then please check in


and you may copy it to the theme and Change the following code inside the line

echo $_attribute->getLabel()


echo $_attribute->getProductAttribute()->getStoreLabel()

Then you should get the Label you set in Default Store View section of the attribute in admin