Go to Woocommerce > Discount Rules in your dashboard.
Click ADD NEW RULE button to add a new Rule Setting.
Once you have finished setting up the rules, click the SAVE & CLOSE button.
If you want to give discount based on coupon, follow this setting.
RULES SETTING:

WEBSITE VIEW:
The discount rule will be activated only when the coupon is applied.
