Hi @emre,
Thank you for the suggestion. I think I understand the logic of your solution but do not know how to implement it. It seems you are suggesting:
0. If we don’t give any discount, we just print ticket. All prices are regular prices.
- If we give 10% discount (to qualified items only), we press a button that sets all qualified items to state = Discount
- At the same time, we update the ticket amount to apply the discount using {ORDER STATE TOTAL:Discount}
To be frank I don’t understand how to achieve either step. For #1, I don’t know how to change all orders (submitted and new orders) to a new order state (side: are you talking about status states or gift states?). For #2, I don’t know what action type to use and what syntax to type in (it seems “update ticket calculation” doesn’t fit the use case)
If you could describe/implement a solution for on-demand discounting for qualified items (i.e. customer presents a 10% discount card at the time he requests a bill, I click a button and all qualified items become 10% discounted), that would be really helpful. This is the only feature currently preventing me from deploying the system, aside from some slow client response concerns, which are mere inconveniences, not roadblocks.