Get product attribute label & value in Magento
Copy this code and paste it in your HTML
<?php if($_product->getData('attribute_code')) : ?>
<?php echo $_product->getResource()->getAttribute('attribute_code')->getStoreLabel();
?>:
<?php echo $this->htmlEscape($_product->getData('attribute_code'));
?> <?php endif; ?>
Report this snippet