11/08/2010

Get Product price excluding Tax class in Magento

Normally in magento Price shown including Tax.But if you want to show Price Excluding Tax then you need to call the following helper class.


<?php echo $this->helper('checkout')->formatPrice($_product->getPrice())
// For Special Price write this
echo $this->helper('checkout')->formatPrice($_product->getSpecialPrice()) ?>

3 comments:

  1. Thanks a lot! I have spent the last 3 hours struggling over this!

    ReplyDelete
  2. Thanks, got the price without tax

    ReplyDelete
  3. This comment has been removed by a blog administrator.

    ReplyDelete