This plugin allows you to configure discounts for customers who have at least one of the specified categories in the cart.
Discount requirement rule is a logical dependency in nopCommerce discount module that defines whether a discount applies or not, according to its conditions.
Please find more informartion about how to install plugins here.
The plugin is provided absolutely for free and includes source code. Find the project Github repository here.