自动根据一些规则在购物车中切换运输提供商

huangapple go评论53阅读模式
英文:

How automatically switch shipment provider in the cart depending on some rules

问题

我正在寻找一种根据一些规则自动在购物车中切换运输提供商的可能性。

例如,如果客户的购物车小于500欧元,Shopware应该自动切换到Express运输提供商。
在另一种情况下(大于500欧元),Shopware应该使用DHL。

我尝试使用运输提供商的可用性规则,但它不起作用。

英文:

I looking for on possibility to automatically switch shipment providers in the cart depending on some rules.

For example, if a customer cart is < 500 EUR Shopware should automatically switch shipment providers on Express
In another case (> 500 EUR) Shopware should use DHL.

I try to use Availability rules for a shipmne provider but it doesn’t work.

答案1

得分: 1

> 我尝试使用货运供应商的可用性规则,但它不起作用。

是的,它起作用。已在当前稳定版本 6.5.2.1 上进行了测试。请确保所有可能变为可用的运输方式也分配给了销售渠道。请检查,在任何情况下,一次只有一种运输方式可以有效。如果当前运输方式不可用,自动切换到另一种可用的运输方式是在版本 6.4.8.0 中引入的。

英文:

> I try to use Availability rules for a shipmne provider but it doesn’t work.

Yes, it does. Tested with the the current stable release 6.5.2.1. Make sure all the shipping methods that could become available are also assigned to the sales channel. Check that in any case only one shipping method can be valid at a time. Automatic switching to another available shipping method, if the current shipping method is unavailable, was introduced with version 6.4.8.0.

huangapple
  • 本文由 发表于 2023年6月26日 23:08:57
  • 转载请务必保留本文链接:https://go.coder-hub.com/76557968.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定