Run
Run

Reputation: 57286

In Magento how to get the regular price of each product that include tax in the shopping cart?

I use this line to get the regular price of the product item in the shopping cart,

$this->helper('checkout')->formatPrice($_item->getProduct()->getPrice());

But I actually want to get the regular price include the tax, any idea how I can get it?

Upvotes: 2

Views: 347

Answers (1)

Zlatin Zlatev
Zlatin Zlatev

Reputation: 3098

Something like this?

Mage::helper('tax')->getPrice($_item->getProduct(), $_item->getProduct()->getPrice());

See also Magento get price including tax in a none-template file

Upvotes: 3

Related Questions