Is it possible to get the attribute label (depending on the storeview) only by the attribute code? I don't want to enter any product or product id.
This is my code to get the attribute label:
<?php $_attribute = $_product->getResource()->getAttribute($attribute_name); ?> <?php $attribute_label = $_attribute->getStoreLabel(Mage::app()->getStore()->getName()); ?>
I want to get rid of the $_product.