We have products with variations (green t-shirt, dark green t-shirt) with various sizes (S,XS,M,L,...) And the price varies according to the quantity.

As an example, if the customer buys 5 women's overwize green tshirt size S and buys 6 women's overwize green tshirt size M gives a total of 11, It should make the respective discount. (5.25 to 4.90).

we tried to use several dynamic rules in the cart but none of them worked.
For example:

Can you help us



