Jump to content

How to change Cart and Calatoge rule


ITRO

Recommended Posts

Good afternoon, colleagues.

There is a catalog rule:

  • -30% for one category

There is a cart rule:

  • from 3 pieces of goods of any category -38%

 

If the rule is triggered in the cart and there is a discount item in it, then a very large discount is obtained.

I need that, when the rule of the basket is triggered from 3x, the commodity is counted as a commodity without a discount.

I tried to learn how the Cart.php (ps 1.6) class works and it seemed to me that I had to change the behavior of several functions. I think there is a solution more beautiful.

Tell me how to solve this problem.


Thank you in advance, ITRO

Edited by ITRO (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...