> For the complete documentation index, see [llms.txt](https://docs.bossithq.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bossithq.com/discounts/discount-block-web-app-only/meals-and-proportional-exclusion.md).

# 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):

<mark style="background-color:orange;">Excluded value = (excluded item's standalone price ÷ sum of all standalone prices) × meal price</mark>

**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.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.bossithq.com/discounts/discount-block-web-app-only/meals-and-proportional-exclusion.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
