Update: Please check comment(!) A Workaround seem to be found!
I have the following problem. When I add shopping cart price rules they calculate the wrong values. Parts of the discount are missing. Magento 1.9.0.1
How to reproduce:
First rule
12pieces in total in shopping cart=> discount of 5 Euro
Second rule
24 pices in total in shopping cart => discount of 10 Euro
Magento Version 1.9.0.1 calculates correctly if it is only one product in the shopping cart. But if I add 2 products and each with 6/12 pieces the total discount gets wrong. Half of the discount is missing.
Here the more detailed bug report:
http://www.magentocommerce.com/bug-tracking/issue/index/id/67
Reason for Problem
This files seem to make the problems
app\code\core\Mage\SalesRule\Model\Quote\Discount.php
Somewhere in the file seem to be a wrong calculation.
Still searching for a solution… Tried some workarounds which failed.
Have a look at our fix here:
https://github.com/husseycoding/cartrulefix
This is great! I will try it soon 🙂
Hi Jonathan,
Thanks a lot for your bugfix(!) I just tried it and it works perfectly(!)
The rule about 24 Products has highest priority
The rule about 12 products has second priority
Now the 24 products rule calculates correctly and realy stops like defined 🙂 The 12 products rule only reduces the price if less than 24 products.
So everything works perfectly:-) Thanks(!)