Age Validator
The Age Validator blocks customers from completing checkout if they have not confirmed they are above the required age. This is useful for stores that sell age-restricted items.

How it works
Section titled “How it works”When a restricted product is in the cart, the customer must confirm their age before the order can be placed. If they don’t confirm or the verification fails, checkout is blocked with an error message.
How to set up
Section titled “How to set up”- Go to Age Validator in the app.
- Configure display settings (see below).
- Click Save.
- In the Shopify checkout editor, add the Age Validator block to the checkout page.
Display settings
Section titled “Display settings”| Setting | Description |
|---|---|
| Minimum age | The minimum age customers must confirm before checkout can proceed (e.g. 18) |
| Restricted product IDs | Shopify product IDs to restrict. Leave blank to apply to all products. |
| Error message | Message shown when the customer fails age verification (e.g. “You must be 18 or older to purchase this item”) |
- You can choose whether failing the age confirmation blocks the customer from placing an order. This is controlled in the Shopify checkout editor.
- Works on checkout page only.
- This is a declaration-based gate — the customer self-confirms they meet the age requirement. Check local regulations for whether additional ID verification is required.
Use cases
Section titled “Use cases”- Any store that sells age-restricted items and needs customers to confirm their age before checkout
Best practices
Section titled “Best practices”- Scope the age validation to specific product IDs rather than all products. Restricting all products causes unnecessary friction for customers buying unrelated items.
- Write a clear, specific error message that tells the customer what they need to do. A specific message works better than a generic one.
- Combine with Order Validation if you also need to block unverified guest customers from certain product categories.
- This is a declaration-based gate (customer confirms they meet the age). For legal compliance in regulated industries, check whether additional ID verification at delivery is required in your jurisdiction.