I added a discount function at payment step, and there is a button to call Ajax to controller.
The button is in the payment step.
The problem is how to change the total price after I click the button? For example, when I click this button, the total price will reduce $100.
I have created a custom gift card module and the card code will be auto generation when customer bought it. If I use the shopping price rules, how can it automatic make the card code to be the coupon code?
Also, is it any information to use multiple coupon codes at the same product?
But there is a different. There is a balance in gift card but coupon isn't. Also, the gift card can be reuse until its balance is $0.
Thank you!