Pricing Rules with Multiple-Product Quantity Condition

I'm trying to create flexible mix-and-match pricing rules/discounts based on the combined quantity of a subset of products in the cart. Some discounts will be on a group of specific products, some on all products of a certain type, and some on products of multiple types.

For example, if a customer is ordering products in a defined group (a specific calendar and/or specific datebook; any button and/or any sticker) with a combined quantity of 5-10 in any mixture/configuration, all products in the group get discounted by $2.

Posted: Oct 18, 2012

Profile Types & Rules

I've got a tricky one. The client ( ) is a publisher (in Illinois) that sells a lot of books to schools and other organizations. Many of which fall under a tax exempt situation. So, if a customer is in Illinois, they need to be able to enter their tax exempt number and pay for the order (without sales tax). The client will then verify the tax exempt information when fulfilling the order.

Posted: Sep 20, 2012

Force 1 product per cart and quantity to one


i'm trying to add a rule to my drupal commerce install. i need to force 1 product per cart, with max quantity = 1.

I tried:

Event: Before adding a product to the cart
Conditions : Elements: Total product quantity comparison Parameter: Order: [commerce_order] => Quantity >=1

and that's working smoothly.

But i can't find a rule to deny adding product to the cart. Already tried

Set a data value:
Selected data: commerce-order:commerce-line-items:1:quantity = 0

Posted: Jun 8, 2012


Subscribe to RSS - rules