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 exclude certain products to get discount, follow this setting.
RULES SETTING:

WEBSITE VIEW:
Excluded products will not get any discount.
