0

i m trying to display price in subtotal before shopping cart price rule aaplied.but it always give nothing when print my code.i m use below code to display price in cart.

echo Mage::getModel('catalogrule/rule')->calcProductPriceRule($_item->getProduct(),$_item->getProduct()->getPrice());

enter image description here

1 Answer 1

0

You can get direct price as below. Above function might give you price after catalog rule applied on it.

  <?php echo $_item->getProduct()->getFinalPrice(); ?>
1
  • sorry but it gives 4408.90 not 4326.75
    – Zahirabbas
    Dec 9, 2015 at 13:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.