Worked example
Coupon qualifies: Yes
Inputs
- Eligible item subtotal: 80
- Excluded item subtotal: 20
- Required eligible spend: 50
- Coupon rate (%): 25
- Discount cap: 15
Single percentage coupon; threshold tests eligible subtotal before discount.
Currency changes the labels, not the amounts. No exchange-rate conversion.
Compare eligible subtotal with the stated threshold.
If eligible, apply percentage discount capped at the supplied limit.
Subtract discount from all item subtotals.
Single percentage coupon; threshold tests eligible subtotal before discount. Excluded items never count toward the threshold. No stacking or taxes.
OpenStax: Solve proportions and their applications ↗Coupon qualifies: Yes
Coupon qualifies: No