How to add discount on product specific quantity range

How to add a discount on product-specific quantity range

This feature is used to apply the special discount on specific product purchases with some quantity range.

For eg.: If the user purchases a specific Hoodie with more than 15 quantities in order then allow to add a $9.99 discount.

Screenshot - 1: (Admin: Product-specific quantity settings)

Screenshot - 2: (Checkout: No discount)

Screenshot - 3: (Checkout: Discount based on specific product quantity match)