Skip to Content

Age Verification Popup for WooCommerce — KoalaApps

Age verification popup gate for WooCommerce stores selling alcohol, tobacco, CBD or supplements — page, category or cart-level enforcement.

Completed: February 2024 Type: Portfolio Project

Available on the WooCommerce Marketplace by KoalaApps · 4.7 ★ (3 reviews) · $29 annually

Age Verification Popup for WooCommerce drops an age-gate popup onto stores selling age-restricted products — alcohol, tobacco, vape, CBD, supplements. Page-level, category-level or cart-level enforcement; DOB entry or simple I am 18+ confirmation; remember-the-visitor cookie so the gate appears once per session, not on every page load.

I built this as a compliance tool for the regulated-product stores that cannot legally sell without verifying buyer age. The gate is configurable to match each jurisdiction’s rules — some require DOB capture, some accept a confirmation tick, and the popup supports both flows.

The problem it solves

Selling alcohol, tobacco, CBD, vape products or supplements legally requires verifying buyer age before purchase. Regulators expect a visible age gate, payment processors expect it, and customers expect it. WooCommerce ships with zero age-verification capability, leaving merchants to either go without (legally risky) or hack a popup into the theme (fragile).

The plugin gives regulated-product stores a configurable, jurisdiction-aware age gate that satisfies compliance requirements without breaking the customer experience.

What the plugin does

A complete age-gating layer for regulated-product WooCommerce stores:

  • Page-level enforcement — gate the entire store on first visit
  • Category-level enforcement — gate only the regulated categories (alcohol section, tobacco section)
  • Cart-level enforcement — let browsing happen but gate at the cart if regulated items are present
  • DOB entry mode — full date-of-birth capture for jurisdictions that require it
  • Confirmation mode — simple “I am 18+” tick for lighter-touch jurisdictions
  • Custom minimum age — 18, 21 or any merchant-set threshold
  • Remember-the-visitor cookie — gate appears once per session, not on every page
  • Custom popup branding — match the gate to the storefront design language

How it is built

Verification state is stored client-side in a configurable-lifetime cookie, with the page-load gate rendered through a small front-end script that blocks page interaction until the gate is satisfied. Category-level and cart-level enforcement run server-side too — checking gated categories at the cart and checkout validation layer so a determined visitor cannot bypass the gate by tampering with cookies. DOB calculations validate against the configurable minimum age client-side and re-check server-side at checkout.

The plugin is HPOS-compatible at the order layer, fully translatable, and GDPR-aware around the cookie used for verification persistence — with documentation merchants can include in their privacy policy.


Marketplace adoption

A 4.7-star rating across 3 reviews on the official WooCommerce Marketplace reflects the focused regulatory customer base. Alcohol, tobacco, vape, CBD and supplement stores are the natural buyers — categories where age-gating is not optional, and where compliance directly affects the ability to operate.

  • Marketplace rating: 4.7 stars — based on 3 customer reviews on the official WooCommerce Marketplace
  • Active regulated-product customer base — alcohol, tobacco, vape, CBD and supplement stores
  • Server-side enforcement at cart and checkout — gate cannot be bypassed by cookie tampering
  • GDPR-aware cookie handling — documented for privacy-policy inclusion
  • Multi-jurisdiction flexibility — DOB or confirmation, custom minimum age, configurable scope

Need a custom WooCommerce plugin built like this?

I build production-grade WooCommerce plugins like the ones I shipped on the official WooCommerce Marketplace — including the compliance and regulatory flows that regulated-product stores actually need. If you need custom compliance work inside WooCommerce, let’s talk.

See my WooCommerce plugin development service

Project Details

  • Completed February 2024
  • Project Type Portfolio