Magento CE 1.8.1.0总计(含税)不正确 [英] Magento CE 1.8.1.0 grand total including tax is incorrect

查看:84
本文介绍了Magento CE 1.8.1.0总计(含税)不正确的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在这里撞墙,由于某种原因,购物车中的Magento实际上是从应收总额中扣除了增值税.我们正在使用英国增值税(20%),目录价格含税.

Hitting a brick wall here, for some reason Magento in the shopping cart is actually discounting the VAT from the total due. We are working with UK VAT (20%), and catalog prices include tax.

在此示例中,含税小计为£9.50

In this example the subtotal including tax comes to £9.50

那么,到底为什么包括税金在内的总和能达到7.92英镑?我们没有对该商品应用任何折扣,因此更加令人困惑.出于某种原因,得出的总数完全错误.

So why on earth can the grand total including Tax come to £7.92? We haven't applied any discount to the item, so it's even more confusing. The grand total is worked out completely wrong for some reason.

购物车中显示的数据:

Subtotal (inc VAT)  £9.50
Grand Total Excl. Tax   £6.34
Tax £1.58
Grand Total Incl. Tax   £7.92

这是Magento CE 1.8.1.0中的一个已确认错误,还是有纠正此错误的方法?

Is this a confirmed bug in Magento CE 1.8.1.0 or is there a way to correct this?

推荐答案

我遇到了相同的问题, 解决它的步骤是:

I had encountered the same issue, steps to solve it are:

  1. 转到此位置:app/code/core/Mage/Sales/etc/config.xml
  2. 在app/code/local中复制它的副本:app/code/local/Mage/Sales/etc/config.xml
  3. 接下来在第1221行添加msrp

  1. Go to this location : app/code/core/Mage/Sales/etc/config.xml
  2. Make a copy of it in app/code/local : app/code/local/Mage/Sales/etc/config.xml
  3. next on line number 1221 add msrp

<shipping>
   <class>sales/quote_address_total_shipping</class>
   <after>subtotal,freeshipping,tax_subtotal,msrp</after>
   <before>grand_total</before>
</shipping>

  • 下一步在第1230行添加add

  • Next add on line 1230 add

    <msrp>
       <class>sales/quote_address_total_msrp</class>
       <before>grand_total</before>
    </msrp>
    

    1. 这应该可以解决您的问题.谢谢:)

  • 这篇关于Magento CE 1.8.1.0总计(含税)不正确的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

    查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆