Minimum Age for WooCommerce

Описание

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.

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.

Скриншоты

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

Часто задаваемые вопросы

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

Отзывы

25.06.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!
15.04.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!
Посмотреть все 4 отзыва

Участники и разработчики

«Minimum Age for WooCommerce» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

«Minimum Age for WooCommerce» переведён на 6 языков. Благодарим переводчиков за их работу.

Перевести «Minimum Age for WooCommerce» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений

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

1.0.18

Released 2022-11-22

  • fixed: filter hook mininum_age_woo_checkout_hook did not work from themes, only from plugins