对 Satchmo 的购物车总价征税

发布于 2024-07-11 09:03:05 字数 1113 浏览 5 评论 0 原文

尽管我似乎无法对购物车总价值应用税值 I:

  1. 激活“按国家/地区”税务模块。
  2. 添加了我所在国家/地区的税率。
  3. 选中“显示含税”复选框。

这里附上的屏幕截图- 持续出现的问题,我选择了 有可疑之处的区域。

所以基本上,购物车显示“含税”但不计算 它既不在项目上,也不在总数上。 结帐时显示有一些税费 在“订购的商品”中进行计算,但其总数不正确 数量。 它也不会显示在“总计”字段集中。

我稍微更改了模板以使其看起来更好一点,但我 没有更改所有这些 satchmo 过滤器/标签。

这是 base_cart.html 的模板

这是结账模板 (order_details.html)

** 我还在 satchmo google groups 但我认为也值得将其发布在这里,因为 Google 目前拥有超过一百万个 stackoverflow 页面。 :P

I can't seem to apply a tax value on the cart total value even though
I :

  1. activated the "By Country/Area" tax module.
  2. added my country/region tax rate.
  3. checked the "Show With tax included" checkbox.

here's attached a screenshot of the on-going problems, I've selected
the areas where something's fishy.

So basically, the cart shows "With tax included" but doesn't calculate
it neither on the item or the total. The checkout shows some tax
calculation in the "Item Ordered" but its total is not the right
amount. It's also not displaying in the "total" fieldset.

I changed the templates a bit to make it look a little better but I
didn't change all those satchmo filters/tags.

here's the template for base_cart.html

And here's the checkout template (order_details.html)

** I also posted this question on the satchmo google groups but I thought it might be worth it to post it here as well since google has now more than a million stackoverflow pages. :P

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

兮颜 2024-07-18 09:03:05

我必须使用管理部分中的复选框和选择框对我的产品进行征税。

然后,为了使其仅根据购物车的总额计算税费,我只需在税收设置中取消选中“显示含税”即可。

I have to make my products taxable using the checkbox and the selectbox in the admin section.

Then to make it calculate the tax only on the cart's total, I just need to uncheck the "Show with tax included" in the Tax Settings.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文