gpt4 book ai didi

php - 如何在 Magento 中为特定产品创建优惠券?

转载 作者:IT王子 更新时间:2023-10-29 00:07:04 27 4
gpt4 key购买 nike

假设我有 10% 的优惠券代码。
此优惠券仅适用于产品B

一位顾客的购物车中有:

  • 产品 P1
  • 产品 B
  • 产品P2

我不希望我的 10% 优惠券适用于其他产品,而只适用于产品 B。

您知道我如何在 Magento 中做到这一点吗?

最佳答案

以下是为任何特定产品创建优惠券代码的过程:-

  • Login to Admin
  • Go to Promotions -> Shopping Cart Price Rules
  • Click Add New Rule
  • Fill Rule Information

设置条件

  • On left sidebar, click Conditions tab
  • Click + button icon
  • Select Product attribute combination
  • Click + button icon
  • Select SKU
  • Now, you will see SKU is ...
  • Put your product SKU over there

请注意默认情况下可能不会显示 SKU 选项。(转到:目录 -> 属性 ->管理属性。然后搜索“SKU”属性并将下拉菜单“用于促销规则条件”设置为"is",并在需要时重新编制索引。)

设置操作

  • You can set how much discount you want to give from here

  • Save Rule

关于php - 如何在 Magento 中为特定产品创建优惠券?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5338305/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com