> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sendway.eu/llms.txt
> Use this file to discover all available pages before exploring further.

# Delivery rules

> Show or hide delivery options based on the cart, country, or product.

<Tip>**Plan:** Starter or Pro.</Tip>

Delivery rules control **when** a delivery option appears. Each rule is one condition + one action — simple to set up, simple to reason about.

Open **Checkout settings → Rules → Delivery** to configure.

## The shape of a rule

Every rule answers two questions:

1. **When?** — the condition (e.g. cart total over a certain amount, a specific product in the cart, buyer's country is X).
2. **What happens?** — the action (e.g. hide a delivery option, show one that's hidden by default).

If the condition matches, the action runs. If it doesn't, delivery options behave normally.

## Common examples

<AccordionGroup>
  <Accordion title="Hide locker delivery for oversized products">
    **Condition:** Cart contains a specific product (a large item that won't fit in a locker)
    **Action:** Hide the locker options
  </Accordion>

  <Accordion title="Show a free-delivery option over a threshold">
    **Condition:** Cart total over €100
    **Action:** Show "Free shipping"
  </Accordion>

  <Accordion title="Restrict same-day delivery to one city">
    **Condition:** Buyer's city is Sofia
    **Action:** Show "Same-day delivery"

    (Everywhere else, buyers don't see same-day at all.)
  </Accordion>

  <Accordion title="Hide expensive express options for low-value carts">
    **Condition:** Cart total under €30
    **Action:** Hide "Express delivery"
  </Accordion>
</AccordionGroup>

## How rules combine

Rules are applied independently. Each delivery option is checked against every rule that affects it; if at least one matching rule says "hide", it's hidden. There's no priority system to learn.

<Note>
  Delivery rules affect what the buyer can pick. Once an order is placed, its chosen delivery method is recorded on the order — you can still change it from the Orders page before sending.
</Note>
