Delivery capacity limits
2 min read
Capacity limits stop you overbooking days you can't fulfill. They're the delivery side of the same idea as OrderRules' order caps.
- Per-date and per-slot caps. Limit how many orders each delivery date β and each time slot within it β can take.
- Atomic booking. Two shoppers can't grab the last slot at once; booking is atomic, so there's no overbooking.
- Auto-release on cancel. When an order is cancelled, its slot is released and becomes bookable again.
- Optional "slots left" display. Show shoppers how many places remain to nudge urgency.
Caps are enforced at checkout by the OrderRules Shopify Function, so back-door checkout paths can't exceed them.
What the cap guarantees
| Behaviour | What it means |
|---|---|
| Per-date and per-slot caps | Limit orders for a whole day, and inside each window |
| Atomic booking | Two shoppers can't take the last slot at once β no overbooking |
| Auto-release on cancel | A cancelled order frees its slot for someone else |
| Enforced at checkout | A Shopify Function blocks back-door checkout paths |
| Optional "slots left" | Show how many places remain, to nudge urgency |