Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/magento/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在Magento中,如何在购物车中获得每种含税产品的正常价格?_Magento_Magento 1.8 - Fatal编程技术网

在Magento中,如何在购物车中获得每种含税产品的正常价格?

在Magento中,如何在购物车中获得每种含税产品的正常价格?,magento,magento-1.8,Magento,Magento 1.8,我使用这一行获取购物车中产品项目的正常价格 $this->helper('checkout')->formatPrice($_item->getProduct()->getPrice()); 但是我真的想得到正常的价格,包括税,你知道我怎么才能得到吗 Mage::helper('tax')->getPrice($_item->getProduct(), $_item->getProduct()->getPrice()); 另见

我使用这一行获取购物车中产品项目的正常价格

$this->helper('checkout')->formatPrice($_item->getProduct()->getPrice());
但是我真的想得到正常的价格,包括税,你知道我怎么才能得到吗

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