For the implementation of Criteo tags, I'm trying to get the price (among other things) of all products in the cart (and success page) with tax and discounts. I'm currently doing something like this, but it only displays price with discount and without tax :
$cartAllItems = Mage::getModel('checkout/cart')->getItems();
foreach ($cartAllItems as $item){
$price = Mage::helper('tax')->getPrice($item->getProduct(), $item->getProduct()->getFinalPrice());
// other things
}
I've been testing around a lot of things and can't make it work. Thx for the help
I think you can use,
This will return you total tax amount. or you can use
Modified I guess for your requirement