Title: Minimum Age for WooCommerce
Author: webaware
Published: <strong>September 29, 2018</strong>
Last modified: May 12, 2026

---

Search plugins

![](https://ps.w.org/minimum-age-woocommerce/assets/banner-772x250.png?rev=2590632)

![](https://ps.w.org/minimum-age-woocommerce/assets/icon-256x256.png?rev=2590632)

# Minimum Age for WooCommerce

 By [webaware](https://profiles.wordpress.org/webaware/)

[Download](https://downloads.wordpress.org/plugin/minimum-age-woocommerce.1.1.0.1.zip)

 * [Details](https://wordpress.org/plugins/minimum-age-woocommerce/#description)
 * [Reviews](https://wordpress.org/plugins/minimum-age-woocommerce/#reviews)
 * [Development](https://wordpress.org/plugins/minimum-age-woocommerce/#developers)

 [Support](https://wordpress.org/support/plugin/minimum-age-woocommerce/)

## Description

Add a checkout question for the customer’s date of birth, and enforce a minimum 
age. The customer cannot checkout if their given date of birth means they are younger
than the minimum age.

### Requirements

 * WooCommerce 3.0 or greater
 * PHP 5.6 or greater

### Translations

If you’d like to help out by translating this plugin, please [sign up for an account and dig in](https://translate.wordpress.org/projects/wp-plugins/minimum-age-woocommerce).

### Contributions

 * [Fork me on GitHub](https://github.com/webaware/minimum-age-woocommerce/)

### Privacy

The customer’s date of birth is recorded, so that transactions can be audited for
compliance with minimum age legislation. The customer’s date of birth is transmitted
in order confirmation and notification emails. This information is not shared with
any other parties.

## Screenshots

 * [[
 * WooCommerce settings
 * [[
 * The birth date question in the checkout, showing an error message

## FAQ

### How can I set the minimum age?

The default minimum age is 18. You can change it the WooCommerce settings:

WooCommerce > Settings > Minimum Age > Minimum age

### How can I change the order of the date fields?

The default order of the birth date fields is day, month, year. You can choose a
different layout in the settings:

WooCommerce > Settings > Minimum Age > Date layout

### Can I show the date of birth question conditionally?

There is a filter hook `minimum_age_woo_show_question` that allows developers to
hide the date of birth question if it isn’t required, e.g. only show for products
in certain categories. It accepts a single boolean parameter, and returns a boolean:
true to show the question, otherwise false.

## Reviews

![](https://secure.gravatar.com/avatar/d8dabfdfa65caf315d6117e0b567eb082be654508a2f2cbfe8aab8ebdbb0c97c?
s=60&d=retro&r=g)

### 󠀁[Excellent](https://wordpress.org/support/topic/excellent-10880/)󠁿

 [FannyV](https://profiles.wordpress.org/fannyv/) June 25, 2021

Staring July 1 2021 for online shops in The Netherlands when selling alcohol age
verification is mandatory. This is exactly what I needed, simple and effective. 
Thank you for providing!

![](https://secure.gravatar.com/avatar/03a42cd628077abd3dd2d3d14439b63e0940ef71f2f1e019e83545f717359879?
s=60&d=retro&r=g)

### 󠀁[Great plugin but needs a translation](https://wordpress.org/support/topic/great-plugin-but-needs-a-translation/)󠁿

 [Gilles](https://profiles.wordpress.org/alizesonline/) April 15, 2021

Great plugin, it is light and it works as expected. But there is an urgent need 
to have the customer form and the errors translated to various languages. I updated
the file “class.Checkout.php” but this is something I have to do every time there
is an update. Please use po/mo files instead!

![](https://secure.gravatar.com/avatar/ac8be9053e6d83e211d0e55c64e8bfb72ba8ac473090850a3d2007a6c6d52b24?
s=60&d=retro&r=g)

### 󠀁[Works great!](https://wordpress.org/support/topic/works-great-7330/)󠁿

 [karssnijders](https://profiles.wordpress.org/karssnijders/) December 16, 2020

Works great and does what it has to do!

![](https://secure.gravatar.com/avatar/8b887bc7f5f8ff707b8051eafa74a183ca6e938270d8358ebddcc55563de0ce1?
s=60&d=retro&r=g)

### 󠀁[Nice Plugin](https://wordpress.org/support/topic/nice-plugin-2971/)󠁿

 [cestus](https://profiles.wordpress.org/cestus/) January 18, 2019

Thank you for providing a nice plugin. It works.

 [ Read all 4 reviews ](https://wordpress.org/support/plugin/minimum-age-woocommerce/reviews/)

## Contributors & Developers

“Minimum Age for WooCommerce” is open source software. The following people have
contributed to this plugin.

Contributors

 *   [ webaware ](https://profiles.wordpress.org/webaware/)

“Minimum Age for WooCommerce” has been translated into 7 locales. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/minimum-age-woocommerce/contributors)
for their contributions.

[Translate “Minimum Age for WooCommerce” into your language.](https://translate.wordpress.org/projects/wp-plugins/minimum-age-woocommerce)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/minimum-age-woocommerce/),
check out the [SVN repository](https://plugins.svn.wordpress.org/minimum-age-woocommerce/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/minimum-age-woocommerce/)
by [RSS](https://plugins.trac.wordpress.org/log/minimum-age-woocommerce/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

The full changelog can be found [on GitHub](https://github.com/webaware/minimum-age-woocommerce/blob/master/changelog.md).
Recent entries:

### 1.1.0

Released 2023-10-31

 * fixed: support for WooCommerce HPOS (high performance order storage)
 * added: filter hook `minimum_age_woo_show_question` allowing hookers to conditionally
   suppress the age question
 * changed: marked as tested up to WooCommerce 8.2

## Meta

 *  Version **1.1.0.1**
 *  Last updated **2 weeks ago**
 *  Active installations **300+**
 *  WordPress version ** 4.2 or higher **
 *  Tested up to **7.0**
 *  PHP version ** 5.6 or higher **
 *  Languages
 * [Dutch](https://nl.wordpress.org/plugins/minimum-age-woocommerce/), [English (Australia)](https://en-au.wordpress.org/plugins/minimum-age-woocommerce/),
   [English (Canada)](https://en-ca.wordpress.org/plugins/minimum-age-woocommerce/),
   [English (New Zealand)](https://en-nz.wordpress.org/plugins/minimum-age-woocommerce/),
   [English (South Africa)](https://en-za.wordpress.org/plugins/minimum-age-woocommerce/),
   [English (UK)](https://en-gb.wordpress.org/plugins/minimum-age-woocommerce/),
   [English (US)](https://wordpress.org/plugins/minimum-age-woocommerce/), and [Portuguese (Brazil)](https://br.wordpress.org/plugins/minimum-age-woocommerce/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/minimum-age-woocommerce)
 * Tags
 * [age](https://wordpress.org/plugins/tags/age/)[checkout](https://wordpress.org/plugins/tags/checkout/)
   [woocommerce](https://wordpress.org/plugins/tags/woocommerce/)
 *  [Advanced View](https://wordpress.org/plugins/minimum-age-woocommerce/advanced/)

## Ratings

 4.8 out of 5 stars.

 *  [  3 5-star reviews     ](https://wordpress.org/support/plugin/minimum-age-woocommerce/reviews/?filter=5)
 *  [  1 4-star review     ](https://wordpress.org/support/plugin/minimum-age-woocommerce/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/minimum-age-woocommerce/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/minimum-age-woocommerce/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/minimum-age-woocommerce/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/minimum-age-woocommerce/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/minimum-age-woocommerce/reviews/)

## Contributors

 *   [ webaware ](https://profiles.wordpress.org/webaware/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/minimum-age-woocommerce/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://shop.webaware.com.au/donations/?donation_for=Minimum+Age+for+WooCommerce)