Wednesday, May 02, 2012

Get Product Attribute Values in magento


<?php
$_product = Mage::getModel(‘catalog/product’)->load($product_id);

//    GET ATTRIBUTE VALUES
echo $vall = $_product->getResource()->getAttribute(‘my_custom_attribute’)->getFrontend()->getValue($_product);
?>

No comments: