Magento 2.4.9 is available! Upgrade now & get 15% OFF for a limited time. Use code: UPGRADE249

Magento 2 Age Verification Popup

(3Reviews)

Meetanshi's Magento 2 Age Verification extension restricts site access for underage visitors with a single, customizable popup. Design it without code, add a Terms & Conditions checkbox, and support your age-restriction compliance, all while staying fast on both Luma and Hyvä.

Key Features:

  • Highly customizable popup design
  • Strict CSP & Hyvä theme compatible
  • Live backend preview for easy styling

 

Compatible with: Magento CE, EE 2.3.x, 2.4.x

Description

Age Verification Popup

If your catalog includes alcohol, tobacco, vaporizers, or adult products, you are expected to confirm a visitor is old enough before they shop. Leave that step out and you risk compliance fines and penalties. Add a heavy, off-brand age gate and you slow the store down or break your theme.

Meetanshi's Magento 2 Age Verification Popup gives you a cleaner option: a customizable age restriction popup that checks every new visitor, then gets out of the way.

When someone lands on your store, the popup asks them to confirm they meet your minimum age. Visitors who confirm continue to your catalog. Visitors who decline are sent to a rejection redirect URL you choose, so underage visitors never reach age-restricted products. You set the minimum age once, for example 18 or 21, and reuse it anywhere in your popup text with the {age} variable, so the number always stays consistent.

Desktop Age Gate Example Mobile Age Gate Example

Compliance Support Without Slowing the Store

Setting up the age gate is simple and straightforward. Under the general settings configurations, you are in total control of how the modal behaves.

The extension follows Magento 2's Content Security Policy (CSP) rules and is engineered with current PHP 8.4 features and Service Contracts. You can configure a custom cookie lifetime (in days) to decide how long a verified session stays remembered before prompting visitors again.

Underage visitors who decline are redirected immediately to a specific rejection URL, completely locking out access to your product catalogs.

General Settings Configuration

No-Code Content & Layout Controls

The popup layout is fully customizable directly from the Magento admin interface, meaning you have absolute design freedom with zero CSS code to write.

You can choose between a Compact modal style or a Full-Screen modal experience. Align your layout content, set custom text tags, and easily pick border radius configurations (Square, Rounded, or Pill options) and drop-shadow depth presets.

Additionally, you can toggle a Terms and Conditions checkbox requirement before a customer is allowed to confirm, with dynamic redirection URLs linked in the labels.

Design Content Configurations Design Layout Settings

Real-Time Live Previews & Color Control

Say goodbye to the tedious workflow of saving settings, clearing caches, and refreshing product tabs just to inspect simple visual changes.

A floating, draggable live preview widget stays active on your screen. As you play with built-in color-pickers, you instantly see the new color styling apply to backgrounds, modal headers, verification buttons, border lines, and hover indicators.

This allows you to align the popup's aesthetic with your company's design tokens and theme instantly.

Live Preview Dashboard Color Customizations Picker

Key Features & Compliance Highlights

Engineered with modern Magento standards to run efficiently without blocking crucial search engine performance.

  • Dynamic Age: Reusable {age} variables flow across titles and body texts automatically.
  • SEO Preservation: Automatically bypasses Googlebot and Bingbot crawls to protect indexing.
  • Hyvä & Luma: Built on native PHP and fast Alpine.js to complement modern frontends.
  • CSP Compliant: Fully follows security policies and inline execution blocks out-of-the-box.
  • Cookie Controls: Customize cookie durations so returning shoppers face zero friction.
  • Instant Feedback: Floating interactive modal previews to configure visually in seconds.

Who Needs This Age Gate?

E-Commerce merchants selling legal, age-restricted commodities can maintain safe browsing protocols across a wide array of categories:

Alcohol, Wine & Spirits
Vaporizers, E-Liquids & Pods
Tobacco, Cigarettes & Cigars
CBD, Hemp & Cannabis Goods
Adult Entertainment & Novelties
Knives, Pyrotechnics & Fireworks

Customer Reviews

A true lifesaver for compliance!
Extension Ratings
Verified Buyer
Review by
Running my store with age-restricted items was always a worry. This extension from Meetanshi is a lifesaver. It was super easy to set up and customize the popup to match my site's look. Now I can breathe easy knowing I'm compliant, and it works perfectly without any issues
Robust & Compatible
Extension Ratings
Verified Buyer
Review by
Excellent extension. Flawless integration with Hyvä and adheres to CSP. Exactly what we needed for a compliant and performant frontend. Cheers!
Very useful for restricted items!
Extension Ratings
Verified Buyer
Review by
This age verification extension is realy good! I was worried about my SEO, but this module bypass bots. Live preview feature in admin is very useful to design popup. Great solution for any store selling restricted products!
Write Your Own Review
Only registered users can write reviews. Please Sign in or create an account
 
  • Lifetime license to source code
  • 30 Days money back Guaranteed
  • Free support and updates for 1 year