Return to Snippet

Revision: 56604
at April 4, 2012 18:18 by wavi


Initial Code
    <?php if($_product->getData('attribute_code')) : ?>
    <?php echo $_product->getResource()->getAttribute('attribute_code')->getStoreLabel(); ?>: <?php echo $this->htmlEscape($_product->getData('attribute_code')); ?>
    <?php endif; ?>

Initial URL

                                

Initial Description

                                

Initial Title
Get product attribute label & value in Magento

Initial Tags

                                

Initial Language
PHP