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

---

Buscar 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

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

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

 * [Detalles](https://gl.wordpress.org/plugins/minimum-age-woocommerce/#description)
 * [Valoracións](https://gl.wordpress.org/plugins/minimum-age-woocommerce/#reviews)
 * [Desenvolvemento](https://gl.wordpress.org/plugins/minimum-age-woocommerce/#developers)

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

## Descrición

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.

## Capturas

[⌊WooCommerce settings⌉⌊WooCommerce settings⌉[

WooCommerce settings

[⌊The birth date question in the checkout, showing an error message⌉⌊The birth date
question in the checkout, showing an error message⌉[

The birth date question in the checkout, showing an error message

## Preguntas frecuentes

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

## Comentarios

![](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/) 25 de Xuño, 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/) 15 de Abril, 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/) 16 de Decembro, 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/) 18 de Xaneiro, 2019

Thank you for providing a nice plugin. It works.

 [ Ler todas as 4 opinións ](https://wordpress.org/support/plugin/minimum-age-woocommerce/reviews/)

## Colaboradores e desenvolvedores

“Minimum Age for WooCommerce” é un software de código aberto. As seguintes persoas
colaboraron con este plugin.

Colaboradores

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

“Minimum Age for WooCommerce” foi traducido a 7 idiomas. Grazas [aos desenvolvedores](https://translate.wordpress.org/projects/wp-plugins/minimum-age-woocommerce/contributors)
polas súas contribucións.

[Traduce “Minimum Age for WooCommerce” ao teu idioma.](https://translate.wordpress.org/projects/wp-plugins/minimum-age-woocommerce)

### Interesado no desenvolvemento?

[Revisa o código](https://plugins.trac.wordpress.org/browser/minimum-age-woocommerce/),
bota unha ollada ao[repositorio SVN](https://plugins.svn.wordpress.org/minimum-age-woocommerce/),
ou subscríbete ao [log de desenvolvemento](https://plugins.trac.wordpress.org/log/minimum-age-woocommerce/)
por [RSS](https://plugins.trac.wordpress.org/log/minimum-age-woocommerce/?limit=100&mode=stop_on_copy&format=rss).

## Rexistro de cambios

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

 *  Versión **1.1.0.1**
 *  Última actualización **Fai 2 meses**
 *  Instalacións activas **300+**
 *  Versión de WordPress ** 4.2 ou superior **
 *  Probado ata **7.0**
 *  Versión de PHP ** 5.6 ou superior **
 *  Idiomas
 * [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/), e [Portuguese (Brazil)](https://br.wordpress.org/plugins/minimum-age-woocommerce/).
 *  [Traduce ao teu idioma](https://translate.wordpress.org/projects/wp-plugins/minimum-age-woocommerce)
 * Etiquetas
 * [age](https://gl.wordpress.org/plugins/tags/age/)[checkout](https://gl.wordpress.org/plugins/tags/checkout/)
   [woocommerce](https://gl.wordpress.org/plugins/tags/woocommerce/)
 *  [Vista avanzada](https://gl.wordpress.org/plugins/minimum-age-woocommerce/advanced/)

## Valoracións

 4.8 de 5 estrelas

 *  [  3 valoracións de 5 estrelas     ](https://wordpress.org/support/plugin/minimum-age-woocommerce/reviews/?filter=5)
 *  [  1 valoración de 4 estrelas     ](https://wordpress.org/support/plugin/minimum-age-woocommerce/reviews/?filter=4)
 *  [  0 valoracións de 3 estrelas     ](https://wordpress.org/support/plugin/minimum-age-woocommerce/reviews/?filter=3)
 *  [  0 valoracións de 2 estrelas     ](https://wordpress.org/support/plugin/minimum-age-woocommerce/reviews/?filter=2)
 *  [  0 valoracións de 1 estrelas     ](https://wordpress.org/support/plugin/minimum-age-woocommerce/reviews/?filter=1)

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

[Ver todas as valoracións](https://wordpress.org/support/plugin/minimum-age-woocommerce/reviews/)

## Colaboradores

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

## Soporte

Tes algo que dicir? Necesitas axuda?

 [Ver o foro de soporte](https://wordpress.org/support/plugin/minimum-age-woocommerce/)

## Doar

Queres apoiar o progreso deste plugin?

 [ Dona a este plugin ](https://shop.webaware.com.au/donations/?donation_for=Minimum+Age+for+WooCommerce)