0

I'm trying to wrap my head around this. We have to Shopping cart price rules, one without a discount code and one with.

The one without a discount code is set up as follow:

- If ALL  of these conditions are TRUE :
     - If total quantity  equals or greater than  3  for a subselection of items in cart matching ALL  of these conditions: 
         - SKU  is  productA  

So it's set to give the discount if at least three occurances of the product is in the cart. The discount is set to "Fixed amount discount for whole cart" with 100 being the amount.

The other rule that contains the discount code is set to exlude the SKU provided above:

- If ALL  of these conditions are TRUE : 
   - SKU  is not one of  productA

This one has a "Percent of product price discount" discount set of 50%.

Now, both discounts work perfectly fine alone. And if I have two of productA in the cart along with another product we'll call productB I only get 50% productB, which is expected.

However when I have three of productA (costing 150 each) and productB (costing 2000) in the cart I get a total discount of 1059.19 when in reality I would expect the discount to be 1100 (1000 discount for productB then 100 discount for the three productA ).

There is obviously something with the calulation going on that I don't quite understand. Could anyone explain why I'm getting the results I'm getting.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.