Choose the Cart Discount Rule and specify the name for your rule and a description for it.
In the condition add 3 conditions as it works only when these conditions are satisfied.
- Cart Subtotal at least - 2500
- Total number of quantities - 10
- Category in cart -"Electronics"
When the condition matches , 20% discount will be applied in the cart.
Here is the cart page with the discount applied when the rule matched.th