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.
- WooCommerce 3.0 or greater
- PHP 5.6 or greater
If you’d like to help out by translating this plugin, please sign up for an account and dig in.
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.
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
Colaboradores y desarrolladores
«Minimum Age for WooCommerce» es un software de código abierto. Las siguientes personas han colaborado con este plugin.Colaboradores
Registro de cambios
The full changelog can be found on GitHub. Recent entries:
- fixed: filter hook
mininum_age_woo_checkout_hookdid not work from themes, only from plugins