Minimum Age for 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.4 or greater

Translations

If you’d like to help out by translating this plugin, please sign up for an account and dig in.

Contributions

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

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

Contributors & Developers

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

Contributors

“Minimum Age for WooCommerce” has been translated into 4 locales. Thank you to the translators for their contributions.

Translate “Minimum Age for WooCommerce” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

The full changelog can be found on GitHub. Recent entries:

1.0.1

1.0.2

Released 2018-11-05

  • irony: view for PHP compatibility message used short echo tags not compatible with PHP < 5.4