{"id":92007,"date":"2018-09-29T05:49:51","date_gmt":"2018-09-29T05:49:51","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/minimum-age-woocommerce\/"},"modified":"2025-12-14T04:15:43","modified_gmt":"2025-12-14T04:15:43","slug":"minimum-age-woocommerce","status":"publish","type":"plugin","link":"https:\/\/bal.wordpress.org\/plugins\/minimum-age-woocommerce\/","author":6013576,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1.0.1","stable_tag":"1.1.0.1","tested":"6.9.4","requires":"4.2","requires_php":"5.6","requires_plugins":null,"header_name":"Minimum Age for WooCommerce","header_author":"WebAware","header_description":"Restrict purchase through the WooCommerce checkout by age","assets_banners_color":"5d752f","last_updated":"2025-12-14 04:15:43","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/shop.webaware.com.au\/donations\/?donation_for=Minimum+Age+for+WooCommerce","header_plugin_uri":"https:\/\/shop.webaware.com.au\/downloads\/minimum-age-for-woocommerce\/","header_author_uri":"https:\/\/shop.webaware.com.au\/","rating":4.8,"author_block_rating":0,"active_installs":300,"downloads":12792,"num_ratings":4,"support_threads":1,"support_threads_resolved":0,"author_block_count":0,"sections":["description","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"webaware","date":"2018-09-29 05:50:12"},"1.0.1":{"tag":"1.0.1","author":"webaware","date":"2018-10-17 08:16:08"},"1.0.10":{"tag":"1.0.10","author":"webaware","date":"2020-06-03 06:59:33"},"1.0.11":{"tag":"1.0.11","author":"webaware","date":"2020-08-10 11:20:41"},"1.0.12":{"tag":"1.0.12","author":"webaware","date":"2020-08-12 10:50:15"},"1.0.13":{"tag":"1.0.13","author":"webaware","date":"2020-12-07 10:43:44"},"1.0.14":{"tag":"1.0.14","author":"webaware","date":"2021-01-11 08:12:08"},"1.0.15":{"tag":"1.0.15","author":"webaware","date":"2021-03-04 08:11:03"},"1.0.16":{"tag":"1.0.16","author":"webaware","date":"2022-05-23 04:33:55"},"1.0.17":{"tag":"1.0.17","author":"webaware","date":"2022-06-26 08:34:25"},"1.0.17.1":{"tag":"1.0.17.1","author":"webaware","date":"2022-11-02 10:56:14"},"1.0.18":{"tag":"1.0.18","author":"webaware","date":"2023-07-30 03:28:03"},"1.0.2":{"tag":"1.0.2","author":"webaware","date":"2019-02-22 01:32:37"},"1.0.3":{"tag":"1.0.3","author":"webaware","date":"2019-04-18 02:37:54"},"1.0.4":{"tag":"1.0.4","author":"webaware","date":"2019-08-12 00:24:07"},"1.0.5":{"tag":"1.0.5","author":"webaware","date":"2019-10-24 04:31:18"},"1.0.6":{"tag":"1.0.6","author":"webaware","date":"2020-01-03 07:42:26"},"1.0.7":{"tag":"1.0.7","author":"webaware","date":"2020-03-09 10:42:48"},"1.0.8":{"tag":"1.0.8","author":"webaware","date":"2020-03-20 03:33:04"},"1.0.9":{"tag":"1.0.9","author":"webaware","date":"2020-12-07 10:42:20"},"1.1.0":{"tag":"1.1.0","author":"webaware","date":"2023-10-31 08:50:16"},"1.1.0.1":{"tag":"1.1.0.1","author":"webaware","date":"2025-12-14 04:15:43"}},"upgrade_notice":{"1.1.0":"<p>supports WooCommerce HPOS (high performance order storage); adds filter hook mininum_age_woo_show_question; tested to WooCommerce 8.2<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":1,"5":3},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2590632,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2590632,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":2590632,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.0.10","1.0.11","1.0.12","1.0.13","1.0.14","1.0.15","1.0.16","1.0.17","1.0.17.1","1.0.18","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.0.8","1.0.9","1.1.0","1.1.0.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2453723,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":1948924,"resolution":"2","location":"assets","locale":""}},"screenshots":{"1":"WooCommerce settings","2":"The birth date question in the checkout, showing an error message"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[5579,3148,286],"plugin_category":[45],"plugin_contributors":[78461],"plugin_business_model":[],"class_list":["post-92007","plugin","type-plugin","status-publish","hentry","plugin_tags-age","plugin_tags-checkout","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-webaware","plugin_committers-webaware"],"banners":{"banner":"https:\/\/ps.w.org\/minimum-age-woocommerce\/assets\/banner-772x250.png?rev=2590632","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/minimum-age-woocommerce\/assets\/icon-128x128.png?rev=2590632","icon_2x":"https:\/\/ps.w.org\/minimum-age-woocommerce\/assets\/icon-256x256.png?rev=2590632","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/minimum-age-woocommerce\/assets\/screenshot-1.png?rev=2453723","caption":"WooCommerce settings"},{"src":"https:\/\/ps.w.org\/minimum-age-woocommerce\/assets\/screenshot-2.png?rev=1948924","caption":"The birth date question in the checkout, showing an error message"}],"raw_content":"<!--section=description-->\n<p>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.<\/p>\n\n<h3>Requirements<\/h3>\n\n<ul>\n<li>WooCommerce 3.0 or greater<\/li>\n<li>PHP 5.6 or greater<\/li>\n<\/ul>\n\n<h3>Translations<\/h3>\n\n<p>If you'd like to help out by translating this plugin, please <a href=\"https:\/\/translate.wordpress.org\/projects\/wp-plugins\/minimum-age-woocommerce\">sign up for an account and dig in<\/a>.<\/p>\n\n<h3>Contributions<\/h3>\n\n<ul>\n<li><a href=\"https:\/\/github.com\/webaware\/minimum-age-woocommerce\/\">Fork me on GitHub<\/a><\/li>\n<\/ul>\n\n<h3>Privacy<\/h3>\n\n<p>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.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20can%20i%20set%20the%20minimum%20age%3F'><h3>How can I set the minimum age?<\/h3><\/dt>\n<dd><p>The default minimum age is 18. You can change it the WooCommerce settings:<\/p>\n\n<p>WooCommerce &gt; Settings &gt; Minimum Age &gt; Minimum age<\/p><\/dd>\n<dt id='how%20can%20i%20change%20the%20order%20of%20the%20date%20fields%3F'><h3>How can I change the order of the date fields?<\/h3><\/dt>\n<dd><p>The default order of the birth date fields is day, month, year. You can choose a different layout in the settings:<\/p>\n\n<p>WooCommerce &gt; Settings &gt; Minimum Age &gt; Date layout<\/p><\/dd>\n<dt id='can%20i%20show%20the%20date%20of%20birth%20question%20conditionally%3F'><h3>Can I show the date of birth question conditionally?<\/h3><\/dt>\n<dd><p>There is a filter hook <code>minimum_age_woo_show_question<\/code> 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.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<p>The full changelog can be found <a href=\"https:\/\/github.com\/webaware\/minimum-age-woocommerce\/blob\/master\/changelog.md\">on GitHub<\/a>. Recent entries:<\/p>\n\n<h3>1.1.0<\/h3>\n\n<p>Released 2023-10-31<\/p>\n\n<ul>\n<li>fixed: support for WooCommerce HPOS (high performance order storage)<\/li>\n<li>added: filter hook <code>minimum_age_woo_show_question<\/code> allowing hookers to conditionally suppress the age question<\/li>\n<li>changed: marked as tested up to WooCommerce 8.2<\/li>\n<\/ul>","raw_excerpt":"Restrict purchase through the WooCommerce checkout by age","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/92007","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=92007"}],"author":[{"embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/webaware"}],"wp:attachment":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=92007"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=92007"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=92007"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=92007"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=92007"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=92007"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}