Hi,
In general that is the case. But saying that is a simplification of what really happens behind the scenes.
In practice, knowing which autoloaded coupon has the bigger value is difficult. That's because you can either configure the coupon with a fixed amount or a percentage. And then system cannot efficiently calculate the real value of the coupons before comparing them as that would require calculating the value for each auto loaded coupon before running the comparison algorithm.
So, to make it easier, the system compare the coupons first based on their "order value from" and if it is the same value, the "product quantity from" value. Usually, either of them is set differently and it works fine.
In your case, you didn't set any "order value from" and set the "product quantity from" to the same value of "2". So there is no real ordering and the system picks up the first one it finds.
So, this means two things can be done:
- on your end, you could set the value of the coupon in the "order value from" and it would work like you want.
- on our end, we could add the coupon flat value as a last determining factor for the sorting so that in your case, it would properly select the correct coupon. We'll look at adding this on our end for the next version of HikaShop.