There are several ways to implement it. First thing I thought is…
- We can set order states of these items as
Discount. - As we can read total of these items with
{ORDER STATE TOTAL:Discount}tag, by multiplying it with discount rate we can update a calculation amount automatically. We can do it by handlingTicket Total Changedevent. - If discount rate is not fixed we can store discount rate as a ticket tag.
If you think you won’t be able to implement it by yourself let me find some free time to implement it and drop a backup for your review.