I'm facing the following issue.
Let's say I have an order composed by 3 equal items (same item code) that cost $8 each, the resulting Clover order is composed by 3 different line items with a total of $24.
For some reasons I need to programmatically apply a $10 discount to the order, split as:
-$3.34 off the first item
-$3.33 off the second item
-$3.33 off the third item
What I'm doing is creating three different Discount item with name "$10 off" and the correct amount ("-334" for the first item, "-333" for the others).
Well, looking at the order summary I see the 3 line items collapsed with a total discount of -$10.02, which is the first -$3.34 applied three times.
Is there a workaround for that? Hope the example is clear enough.