Admin can set Category based Discount on their WooCommerce Store, individually as well as on Category Combination.
To make category based discount rules select the Discount Rules tab.
Now choose Category Rules
Now you can choose Add Single Category Rule ( to make a category based discount rule on a particular category ) or Add Combi Category Rule ( to make a discount rule on a group of categories ).
Fill the Rule, Restrictions, and Validity tabs accordingly.
Note: You can create a rule for a subcategory only if the products of the subcategory have the same category as the parent / main category otherwise, the rule will not be implemented on the product of the subcategory.
By Filling in the Maximum Discount* (mandatory field to input value) you set the last limit on the Discount value of each product.
After saving the rule it can be seen in the given table below.
Now you have to give permission to your rule to give a discount on the Category you have chosen.
Click on the Setting Tab.
Check Category Rule or/and Category Combination Rule as shown below.
The Discount can be seen on the Shop page as well as on the Product page.
The given below image appears on the Shop Page.
The discount can be shown in the cart if the products are added to the cart as in the given picture below.
Now whenever you want to disable this discount rule, you don’t have to delete it, just go to the Setting Tab, uncheck this rule, and click on the Save Rule button.