I am working on a woocommerce website.And I want to apply a discount using the coupon on cart price in such a manner that it will always give a 50% discount up to $200.
If my total cart value is $ 500. Then I get a 50% discount on $ 200 i.e. $ 100. Which means my total cart value is 300+100 i.e. 400.
Please help and let me know how can I do it using coupon or custom code.