Loading Product


$_productId = 52;
$_product = Mage::getModel('catalog/product')->load($_productId);

Get Actual Pric:


// without currency sign
$_actualPrice = $_product->getPrice();
// with currency sign
$_formattedActualPrice = Mage::helper('core')->currency($_product->getPrice(),true,false);

Get Special Price:


// without currency sign
$_specialPrice = $_product->getFinalPrice();
// with currency sign
$_formattedSpecialPrice =Mage::helper('core')->currency($_product->getFinalPrice(),true,false);

Categories: Magento

0 Comments

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *