/ / Magentoショッピングカートの価格ルールがバンドルされた商品で機能していない - magento、magento-1.7、割引、クーポン

Magentoショッピングカート価格ルールがバンドルされていない製品 - magento、magento-1.7、discount、coupon

ショッピングカートの価格ルールを適用しようとしていますバンドルされた製品への、しかし成功なし。私がやりたいことは、SKU "ABC"のバンドル製品に10%の割引を適用するクーポンコードを作成することです。

そこで、SKU属性を "プロモルール条件に使用" - > "はい"に設定し、以下のようなルールを作成します。

If ALL  of these conditions are TRUE :
If an item is FOUND  in the cart with ANY  of these conditions true:
SKU is ABC

しかし成功しなかった...

それで、私はバンドルされた商品と価格ルールが単純な商品にのみ適用されるということを読んだので(そうですか?)、私のバンドル商品の商品に適用するようにルールを変更しました。

If ALL  of these conditions are TRUE :
If an item is FOUND  in the cart with ANY  of these conditions true:
SKU is one of ABC,ABC-1,ABC-2

運がありません…

だから私はすべてのSKU-物を残そうとします、そして私は新しい属性give_discountを作成し、それを「プロモ規則条件に使用する」 - >「はい」にも設定します。はい、私はこの時点で絶望的です。属性を作成し、それを子製品と同様に自分のバンドルに追加します。

If ALL  of these conditions are TRUE :
If an item is FOUND  in the cart with ANY  of these conditions true:
Give discount  is  Yes

それでも...いや...運...

さて、誰もがここで何が起こっているのか知っていますか? 「頭の周りを包むことはできません。バンドルされた製品をこの方法で割引することはできませんか。条件を離れると、割引が(予想どおりに)与えられますが、フィルタを適用するとすぐにクーポンコードが無効であるという考え

編集:

私の価格ルールは他の種類の商品にも有効です。 いくつかの調査の後、隠しカテゴリーを作成してコードを機能させ、その中にバンドル製品を入れて、そのカテゴリーに価格ルールを適用しました。これが上記のようなことを達成するための唯一の方法ですか?

回答:

回答№1は1

これを試してみてください:

条件:

If ALL  of these conditions are TRUE :
If an item is FOUND  in the cart with ALL  of these conditions true:
SKU  is  ABC

If an item is FOUND  in the cart with ALL  of these conditions true:
SKU  is  ABC-1

If an item is FOUND  in the cart with ALL  of these conditions true:
SKU  is  ABC-2

行動:

Update prices using the following information
Apply: Fixed Amount discount
Discount amount : 10%
Maximum Qty Discount is Applied to: 1
Discount Qty Step (Buy X): 0
Apply to Shipping Amount: No
Free shipping: No
Stop further rules processing: No

Apply the rule only to cart items matching the following conditions (leave blank for all items)
If ALL  of these conditions are TRUE :
SKU  is  ABC
SKU  is  ABC-1
SKU  is  ABC-2