错误消息
("DiscountComponentDiscountValue", "DiscountComponentSalesReferencePrice", "DiscountComponentStartDate", "DiscountComponentEndDate"): as (25.0,) is/are set, one of either "DiscountComponentSalesReferencePrice" or both "DiscountComponentStartDate" and "DiscountComponentEndDate" should be set too
此错误是什么意思?
已在 "DiscountComponentDiscountValue" 中发送折扣值,但缺少参考价格("DiscountComponentSalesReferencePrice")。Cdiscount 无法计算折扣。
如何解决此错误
这取决于操作类型:
- 官方促销(折扣季):在 "DiscountComponentSalesReferencePrice" 中填写计算折扣所依据的参考价格。在 "DiscountComponentDiscountValue" 中保留折扣百分比。无需发送开始和结束日期:Cdiscount 会管理促销日历。
- 常规促销(非官方促销期间):停用 "DiscountComponent" 属性上的所有规则和映射。将折后价映射到 "Price",将原价映射到 "StrikedPrice",且原价必须高于 "Price"。
然后手动推送商品。
💡 更多详情,请参阅 Cdiscount 和 Octopia Network - 属性 - 促销与折扣。
评论
请登录写评论。