
I would like to confirm the process of printing a coupon code on a receipt after a transaction takes place.
For example, if a customer spends $100 they are entitled to a $20 coupon, and this is to be printed at the bottom of the receipt once the transaction has ended.
This can be achieved by
1.configuring simple discount,which say give $20 threshold discount to product
2.attach the same to coupon and give change the status of coupon to active in lines
3.Create a new variable to print in receipt design for coupon. - it is customization