Magento CE 1.8.1.0总计(含税)不正确

编程入门 行业动态 更新时间:2024-10-24 11:24:15
本文介绍了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:

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

  • Go to this location : app/code/core/Mage/Sales/etc/config.xml
  • Make a copy of it in app/code/local : app/code/local/Mage/Sales/etc/config.xml
  • 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>

  • 这应该可以解决您的问题.谢谢:)
  • 更多推荐

    Magento CE 1.8.1.0总计(含税)不正确

    本文发布于:2023-10-30 19:07:39,感谢您对本站的认可!
    本文链接:https://www.elefans.com/category/jswz/34/1543732.html
    版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
    本文标签:不正确   含税   CE   Magento

    发布评论

    评论列表 (有 0 条评论)
    草根站长

    >www.elefans.com

    编程频道|电子爱好者 - 技术资讯及电子产品介绍!