{"id":246,"date":"2020-03-16T09:13:14","date_gmt":"2020-03-16T09:13:14","guid":{"rendered":"https:\/\/www.webgeneration.co.uk\/?page_id=246"},"modified":"2023-04-24T10:13:06","modified_gmt":"2023-04-24T09:13:06","slug":"age-verify","status":"publish","type":"page","link":"https:\/\/www.prestafusion.com\/blog\/documentation\/age-verify","title":{"rendered":"Age Verify"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"introduction\">Introduction<\/h2>\n\n\n\n<p>The Age Verify module is intended for websites which require customers to verify that they are over a certain age before the customer is permitted to browse and purchase from the website. The module displays a popup in the form of a fancy box asking the visitor to confirm their age either by pressing a button or entering their date of birth. The popup look and feel can be fully customised. In addition to the popup the module also provides you with the option to verify the customers age during registration on your site (based on the customers date of birth), providing an extra measure for checking the age and preventing registrations of under age customers.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"installation\">Installation<\/h2>\n\n\n\n<p>The installation procedure is very much similar to most other Prestashop modules. No core changes required therefore installation is straight forward, be sure to follow the instructions below to ensure a successful installation.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Upload the module folder to your stores <code>{root}\/modules<\/code> folder<\/li>\n\n\n\n<li>Once uploaded, login to your Prestashop Back Office and head over to the <strong>Modules <\/strong>section<\/li>\n\n\n\n<li>Search for the module and click <strong>Install<\/strong><\/li>\n\n\n\n<li>After a successful installation, the module configuration screen is presented to you. More details on this in the next section<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"configuration\">Configuration<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/documentation-images\/ageverify\/configuration-installation.jpg\" alt=\"Configuring the module\"\/><\/figure>\n\n\n\n<p>The module configuration is organised into 3 tabs, namely options, translations and appearance. We\u2019ll take a look at each tab below.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"configuration-options\">Options Tab<\/h3>\n\n\n\n<p>Under the options tab you will find settings related to the general behaviour of the module. Let\u2019s take a look at these options below:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/documentation-images\/ageverify\/configuration-options.jpg\" alt=\"Options tab\"\/><\/figure>\n\n\n\n<p><strong>Restrict registrations<\/strong><br>Enable this option if you would like to prevent customer registrations based on their age. The customer age is calculated base on the date of birth they enter during registration.<\/p>\n\n\n\n<p><strong>Registration age restriction<\/strong><br>If you have enabled the Restrict registration option above then enter the minimum age requirement the customer must be to be allowed to<br>register on the site.<\/p>\n\n\n\n<p><strong>Popup frequency<\/strong><br>If your store will be making use the age confirmation popup then select how often the popup should be displayed for an individual customers.   Select Each visit to display the popup each time the same customer visits the site. Select first visit only to display it only for the first time. Once they have confirmed their age the popup will not be displayed for subsequent visits to the site.<\/p>\n\n\n\n<p><strong>Verification method<\/strong><br>The module can ask the customer to verify their age via two methods. The first method is Yes \/ No Buttons. This method simply displays two buttons. The customer can select the first button (Yes) to confirm they meet the age requirements to browse and purchase from the site. The second button No allows the confirm to state that they do not meet the age requirements. If the customer selects no they will be redirected away from the site.<\/p>\n\n\n\n<p>The second method of verification is the Birth date entry method. This method will display a date field to allow the customer to enter their date of birth and a button to verify their age and date of birth. They cannot proceed beyond the popup until they have verified their age via one of the methods.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Age Verification for specific category or products<\/h5>\n\n\n\n<p>Additionally you can limit the popup to specific categories and \/ or products in your store.  If you choose to limit the popup to specific categories or products the age verification popup will only appear on those product and category pages.  This is a useful feature if your store contains only a certain category of products or specific products which are age restricted.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/documentation-images\/ageverify\/configuration-category-product-restrictions.jpg\" alt=\"Age Verification for products and categories\"\/><\/figure>\n\n\n\n<p>To restrict the age verification pop up to specific categories on your site, simply select those categories.  You can also limit to specific products in your store, use the product search widget to begin typing the name of the product and matching results will appear below for you to select from.  You may restrict to multiple products in your store.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"configuration-translations\">Translations Tab<\/h3>\n\n\n\n<p>The translations tab is where you can enable the popup for each language in your store and configure the popup and the text for that language.<\/p>\n\n\n\n<p>The first you will need to do is select a language to configure from the list of languages in your store.<\/p>\n\n\n\n<p>After selecting a language to configure, the following form of options will be displayed to the right hand side:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/documentation-images\/ageverify\/configuration-translations.jpg\" alt=\"Age Verify Translations tab\"\/><\/figure>\n\n\n\n<p><strong>Enabled<\/strong><br>Choose whether or not the popup should be displayed for this language<\/p>\n\n\n\n<p><strong>Title Text<\/strong><br>Main title for the popup<\/p>\n\n\n\n<p><strong>Sub title Text<\/strong><br>Sub title text for the popup, leave this blank if you do not require sub title text.<\/p>\n\n\n\n<p><strong>Text Yes Button<\/strong><br>If using the button confirmation method (discussed earlier in this user guide) then the button for confirming the customer age (yes button) will display this text<\/p>\n\n\n\n<p><strong>Text No Button<\/strong><br>If using the button confirmation method (discussed earlier in this user guide) then the button for disconfirming the customer age (no button) will display this text<\/p>\n\n\n\n<p><strong>Enter your birth date<\/strong><br>If using the birth date entry method then the text displayed asking the customer their date of birth to confirm their age<\/p>\n\n\n\n<p><strong>Text confirm date age button<\/strong><br>If using the birth date entry method then the text displayed in the button asking the customer to confirm their date of birth and age after they have entered their date of birth.<\/p>\n\n\n\n<p><strong>Day place holder Text<\/strong><br>If using the birth date entry method then the place holder text displayed in the DD field for the date of birth. Default is DD.<\/p>\n\n\n\n<p><strong>Month place holder Text<\/strong><br>If using the birth date entry method then the place holder text displayed in the MM field for the date of birth. Default is MM.<\/p>\n\n\n\n<p><strong>Year place holder Text<\/strong><br>If using the birth date entry method then the place holder text displayed in the YYYY field for the date of birth. Default is YYYY.<\/p>\n\n\n\n<p>After configuring the text for the pop up, we\u2019re ready to configure the appearance of the popup. This is accomplished via the Appearance tab<br>which we\u2019ll look at on the next page.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"configurationappearance\">Appearance Tab<\/h3>\n\n\n\n<p>The appearance tab will let you manage the appearance of your popups. The module comes installed with predefined set of colours and a sample logo to help you get started. However, you should feel free to change the logo to match your store logo and modify the colours to match your store theme.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"front\">Front End<\/h2>\n\n\n\n<p>Once you\u2019ve configured the module, the age verification popup will appear in the store front when you navigate to the site. Let\u2019s take a look a few of the scenarios.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/documentation-images\/ageverify\/front-end-buttons-age-verification.jpg\" alt=\"Age Verification popup with buttons\"\/><\/figure>\n\n\n\n<p>The above popup uses the Yes \/ No buttons method for verification.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/documentation-images\/ageverify\/front-end-birth-date-age-verification.jpg\" alt=\"Age Verification popup with birth date entry \"\/><\/figure>\n\n\n\n<p>The popup above uses the method birth date entry for age verification.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/documentation-images\/ageverify\/front-end-registration.jpg\" alt=\"Restricting registrations by age in Prestashop\"\/><\/figure>\n\n\n\n<p>If you have enabled restricting registrations by age then the above message will be displayed if a customer attempts to register and they do not meet the age requirement.<\/p>\n\n\n\n<p>Now you\u2019re all set up and this concludes the user guide for the Age Verification module for Prestashop.<\/p>\n\n\n\n<p><a href=\"https:\/\/addons.prestashop.com\/en\/website-security-access\/19208-ageverify.html\" class=\"btn-cta-primary btn-full-width\">Get Age Verify on Prestashop Addons site<\/a><\/p>\n<p><a href=\"https:\/\/www.prestafusion.com\/prestashop-modules\/24-ager-verify.html\" class=\"btn-cta-primary btn-full-width\">Get Age Verify on Prestafusion<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction The Age Verify module is intended for websites which require customers to verify that they are over a certain age before the customer is permitted to browse and purchase from the website. The module displays a popup in the form of a fancy box asking the visitor to confirm their age either by pressing [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":443,"parent":59,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"templates\/template-documentation.php","meta":{"footnotes":""},"class_list":["post-246","page","type-page","status-publish","has-post-thumbnail","hentry"],"_links":{"self":[{"href":"https:\/\/www.prestafusion.com\/blog\/wp-json\/wp\/v2\/pages\/246","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.prestafusion.com\/blog\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.prestafusion.com\/blog\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.prestafusion.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.prestafusion.com\/blog\/wp-json\/wp\/v2\/comments?post=246"}],"version-history":[{"count":9,"href":"https:\/\/www.prestafusion.com\/blog\/wp-json\/wp\/v2\/pages\/246\/revisions"}],"predecessor-version":[{"id":517,"href":"https:\/\/www.prestafusion.com\/blog\/wp-json\/wp\/v2\/pages\/246\/revisions\/517"}],"up":[{"embeddable":true,"href":"https:\/\/www.prestafusion.com\/blog\/wp-json\/wp\/v2\/pages\/59"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.prestafusion.com\/blog\/wp-json\/wp\/v2\/media\/443"}],"wp:attachment":[{"href":"https:\/\/www.prestafusion.com\/blog\/wp-json\/wp\/v2\/media?parent=246"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}