Search

Aug 10, 2015

Get Custom Attribute in Magento


<?php 

$_product= Mage::getSingleton('catalog/product')->load($_item->getProductId());
echo $_product->getResource()->getAttribute('attributeCode')->getFrontend()->getValue($_product);
        
$product->getData("attributeCode");
$product->getAttributeText("attributeCode");

?>

No comments:

Post a Comment