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 customer’s purchase history, follow this setting. The customer must log in their account first to get this discount.
RULES SETTING:

WEBSITE VIEW:
Discount will be offered for users who have purchased above the specified amount and if their order status matches the status given in rule.
