Applicable products: Netmarkets

🔧 Cdiscount - 错误:("DiscountComponentDiscountValue", "DiscountComponentSalesReferencePrice", "DiscountComponentStartDate", "DiscountComponentEndDate"):由于已设置 (25.0,),必须设置以下字段之一:"DiscountComponentSalesReferencePrice"

错误消息

("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"。

然后手动推送商品。

评论

0 条评论

请登录写评论。

本文已自动翻译。如有疑问,请参阅英文或法文原文。

此组别内的文章

查看更多
新闻、服务与事件报告
探索更新、网络研讨会和专家服务,助您充分利用 Lengow。