How To Get Actual Price And Special Price Of  Product In Magento.?

Get Actual Price And Special Price Of  Product In Magento.

TO get the actual and special price in Magento you need to add precise code or syntax to get the desired results. While Actual Price is the real price of the product, special price is the price after discount. Below we have mentioned code for product price collection with or without currency symbol both.

Loading Product:

$productId = 10;
$product = Mage::getModel('catalog/product')->load($productId);

Magento Get Product Price without currency Sign (Actual Price):

$_actualPrice = $_product->getPrice();

Magento Get Product Actual Price with Currency Symbol

$formattedActualPrice = Mage::helper('core')->currency($product->getPrice(),

Magento Get Product with Special Price with Currency Symbol:

$formattedSpecialPrice = Mage::helper('core')->currency($product->getFinalPrice()

Magento Get Special Price without Currency Sign:

$specialPrice = $product->getFinalPrice();

You may also like...

Leave a Reply

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