Skip to content

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.

Age Validator at checkout


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.


  1. Go to Age Validator in the app.
  2. Configure display settings (see below).
  3. Click Save.
  4. In the Shopify checkout editor, add the Age Validator block to the checkout page.

SettingDescription
Minimum ageThe minimum age customers must confirm before checkout can proceed (e.g. 18)
Restricted product IDsShopify product IDs to restrict. Leave blank to apply to all products.
Error messageMessage 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.

  • Any store that sells age-restricted items and needs customers to confirm their age before checkout

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