Tags/topics: 
1
Answers
Vote up!
0
Vote down!

Add role on checkout if cart contains certain products

I need to add a role to a user if they have a specific category of products within their cart. I have gotten the rule to work when they have one of these products in their cart, but it seems to break when there are multiple products or products of a different type. Right now my rule looks like this:

Order Contains a Particular Product: SKU X

Or

Order Contains a Particular Product: SKU Y

Or

Order Contains a Particular Product: SKU Z

Any help with this would be appreciated. Thanks!

Asked by: Threadsniper
on August 30, 2012

Comments

I had the same problem.
Instead of using:

Order Contains a Particular Product: SKU X
Or
Order Contains a Particular Product: SKU Y
Or
Order Contains a Particular Product: SKU Z

You should change it to:

Or
+ Order Contains a Particular Product: SKU X
+ Order Contains a Particular Product: SKU Y
+ Order Contains a Particular Product: SKU Z

That should work!

- mastro on September 20, 2012

1 Answer

Vote up!
0
Vote down!

Thanks Mastro. I really appreciate the help. I eventually created an (inelegant) rule for each specific product SKU. Although time consuming, it has worked thus far. I will get back in there and give your suggestion a try, however, as it looks much more streamlined and this is exactly what I wanted in my original rule.

Answer by: Threadsniper
Posted: Sep 26, 2012