Meals and Proportional Exclusion
When a meal doesn't have discount block enabled but contains an alcohol item or a discount-blocked item, the exclusion isn't all-or-nothing for the whole meal — only that item's fair share of the meal's price is excluded. The rest of the meal remains eligible.
The excluded share is worked out from the products' standalone prices (the price each item would cost if purchased on its own):
Excluded value = (excluded item's standalone price ÷ sum of all standalone prices) × meal price
For example: a "Family Feast" meal has a final basket price of €8.25, made up of four items with standalone prices of €6.20, €1.00, €1.00, and €2.00 — where the €6.20 item is the excluded one (alcohol or a discount-blocked product):
Excluded value = 6.20 ÷ (6.20 + 1.00 + 1.00 + 2.00) × 8.25 = €5.01
That leaves ~€3.24 of the meal eligible. A 20% discount then applies only to that eligible portion: €3.24 × 0.20 ≈ €0.72.
The same proportional split is used for points and vouchers when alcohol is the excluded item. One difference: a "blocks discount" product only affects discounts — it doesn't reduce the value available for points or vouchers. A customer can still earn or spend points, or use a voucher, on the full eligible amount even when a discount code can't touch part of it.
When a customer uses both a discount and a voucher on the same order, the discount is applied first. The voucher's value is then calculated based on the discounted total.
Last updated