Skip to main content

Bundle On Quantity Percentage Discount

Video: How To Configure 'X Percentage Value' Coupon

How this coupon works

Here

Buy items(BI) is the minimum number of items to purchase
Discount items(DI) is the partial number of items eligible for a discount
Percentage Value(D) is the fixed percentage discount
Maximum Discount Amount(MD) (optional) is a limit to the total discount

Example

Buy 3 items, get 2 of them at 10% off.
Let’s say Item 1 costs Rs. 5495,
Item 2 costs Rs. 6495 and Item 3 costs Rs. 9995 and Maximum Discount is Rs. 2000

Formula

Coupon Discount = Min(MD, (DImin(all)*D/100))

Where

DI = Discounted Items D = Percentage Discount
MD = Maximum discount limit DImin(all) = Sum(DI Minimum price in cart)

In this example

BI = 3 DI = 2 D = 10 CV = 5495+5495+9995 = 21985 MD = 2000

Therefore

DImin(all) = Sum(2 Minimum price in cart) = [5495+6495 OR 9995+5495 OR 6495+9995] = [11900 OR 15490 OR 16490]
= 11900

Min(MD, (DImin(all) D/100)) = Min(2000, (1190010/100)) = Min(2000, 1190) Min(MD, (DImin(all) * D/100)) = 1190

Cart value
21985
Coupon Discount
-1190
===========================
TOTAL
20795