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 selling age-restricted products such as alcohol, tobacco, knives, or adult content.


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. Set the minimum age (e.g. 18).
  3. Optionally specify the product IDs to restrict. If left blank, the age validation applies to all products.
  4. Set the error message shown when the customer fails verification (e.g. “You must be 18 or older to purchase this item”).
  5. Click Save.
  6. In the Shopify checkout editor, add the Age Validator block to the checkout page.

  • Works on checkout page.
  • This is a declaration-based gate where the customer confirms they meet the age requirement. For legal compliance in regulated industries, check whether additional ID verification is required in your jurisdiction.
  • The age validation can be scoped to specific products by entering their Shopify product IDs.

  • 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: “You must be 18 or older to purchase alcohol. Please remove this item to continue.” works better than a generic error.
  • 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.