Для реализации тегов Criteo я пытаюсь получить цену (среди прочего) всех товаров в корзине (и страницу успеха) с налогом и скидками. В настоящее время я делаю что-то подобное, но он отображает только цену со скидкой и без налога:
$cartAllItems = Mage::getModel('checkout/cart')->getItems();
foreach ($cartAllItems as $item){
$price = Mage::helper('tax')->getPrice($item->getProduct(), $item->getProduct()->getFinalPrice());
// other things
}
Я тестировал много вещей и не могу заставить это работать. Спасибо за помощь