Magento get discounted Price of Product


Magento get discounted Price of Product : You can get Discounted price of product in magento from product object. You can load product by catalog product model. Here is simple syntax to get the discounted price of product.


Magento get discounted Price of Product

Syntax to get discounted price of an item is given below-

Magento get discounted Price of Product

//load product by product id
$product=Mage::getModel('catalog/product')->load($productId);
$discountedPrice = number_format($product->getFinalPrice(), 2);

Try it »


Advertisements

Add Comment

📖 Read More