由于缺少价格而无法创建订单

cannot create order due to missing prices

我尝试从变体创建订单,但收到此错误:

The variant '2' of product '27610ab0-d9cf-4685-87e7-de6e41fd7dd4' does not contain a price for currency ''EUR' all countries, all customer groups and all channels.

为什么不行,我已经有足够的价格了:

Currency   Price  Country   Customer Group
EUR        3.89   All       price
EUR        8.99   All       regularPrice

出现错误消息是因为分配到购物车的客户不在客户组中,平台试图找到不需要客户组的价格。但只有与客户群相关的价格。

解决方案是将客户分配到客户组"price"或"regularPrice"。 或者,可以添加一个没有客户组的 "list price"。