I try to use Discount Allocator function extension for limiting the number of discount apply to order.
But input query return so wrong
As image, i test an order discount with value 120, first line item worth 75đ and second worth 100đ, the input query should return target for both 2 line item.
Somehow, it alway target to only first line item even how much discount value bigger than first line item price. Even i try to add another order discount, it still target the first one. I cannot calculate value of valid discount with this data.
This is urgent!!

