I have situation where I need to apply two discounts at the same time in magento 1 cart.
- One of them is Subscription product discount - catalog price rule
- Second one is discount coupon - shopping cart price rule
As far I know that shopping cart rule overrides catalog price rule. I have come to app/code/core/Mage/SalesRule/Model/Quote/Discount.php file but I don't really know how to prevent this catalog price rule overriding.
What is data that is responsible for discount? I see only one discount
And which file/class is really need to be override to change discounts logic?