2013-10-17 162 views
2

我試圖將購物車價格規則應用於捆綁產品,但沒有成功。我想要做的是,創建一個優惠券代碼,該優惠券代碼與SKU'ABC'捆綁在一起的產品可享受10%的折扣。Magento購物車價格規則不適用於捆綁產品

所以,我設置的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 

還是......不......幸運......

現在,沒有人知道發生了什麼事情嗎?我無法把頭圍住它!捆綁產品是不可能以這種方式給予折扣的?當我離開的條件遠,折扣被給定的(如預期),但只要我應用過濾器,我得到的概念,優惠券代碼無效...

編輯:

我的價格規則適用於其他類型的產品。經過一番研究後,我設法通過創建隱藏類別來獲得代碼,將捆綁的產品放入其中,並將價格規則應用於類別。這是如何實現上述目標的唯一途徑?

+0

的購物車價格規則正在爲其他類型的產品? –

+0

具有相同的問題。如果我將規則中的sku更改爲簡單的產品,請將該簡單內容添加到購物車中 - 該規則適用。 –

回答

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 
+1

您還可以將SKU條件縮短爲「SKU包含ABC」 – MB34

相關問題