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.

closed as off-topic by Jacob Peattie, fuxia Aug 16 at 1:06

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

Browse other questions tagged or ask your own question.