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

enter image description here

And which file/class is really need to be override to change discounts logic?

Thank you.

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.