2013-10-17 70 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

相关问题