I tried to get the product price after a catalog price rules was applied and i can't.
The code that i use to do this:
//load product by id
$product = Mage::getModel('catalog/product')->load($product->getId());
//get promo_price
$promo_price = Mage::getModel('catalogrule/rule')->calcProductPriceRule($product,$product->getPrice());
and this:
$promo_price = $product->getPrice() - $product->getDiscountAmount();
But this code returns me NULL.
Does anyone know how can i do this?
Best Answer
We use this to get an updated product price