Custom add coupon is not working.
-
Hi, I am working on a website where we allow credit or debit purchases. We have an active coupon which we can use to get 5% discount.
In the debit order the coupon is applied correctly since it works with the WooCommerce native code but in the credit purchase, since a custom code had to be made, it is not applied; the coupon appears in the order but its hover is 0$ and it is not calculated in the subtotal.
Here you have 2 images:
The code that we are using to apply the coupon when creating the order:https://i.imgur.com/vHaW1OR.png
How it looks like in WooCommerce – Orders:
I hope you can help me, thank you!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Custom add coupon is not working.’ is closed to new replies.