The extension allows to prohibits underage visitors from visiting some page of your website. Create unlimited age verification with three different layouts (checkbox and buttons) and display it at any page of your site.
The extension has 2 separate ways of installation, via Composer or by copying the code.
Please follow this Installation Guide to install the extension.
To access the configuration settings of the extension, log into the Magento Admin panel and go to STORES ⟶ Configuration ⟶ ULMOD EXTENSIONS ⟶ Age Verification.
The module’s configuration contains only one section where store administrator can enable or disable the extension in the storefront.
Set Enable the extension - to "Yes" to enable the extension in the storefront
The extension allows store administrator to manage all age verifications in the admin panel. To view, edit or create new age verification, please go to CONTENT ⟶ Age Verification by Ulmod ⟶ Manage Age Verifications. All age verifications are displayed on the grid. The mass actions allow managing age verifications quickly.
To create a new item click "Add New Verification" button. The Age Verification contains five sections: General, Display on Pages, Display on Categories, Display on Products and Display on Other Pages.
Under the General section :
Set Enable to "Yes" to enable the age verification in the storefront.
Enter the Name of the age verification for internal reference.
In the form/To Date set a time interval, when an age verification is activated.
Set Store View to the view where the age verification will be available.
In the Customer Group selects the customer groups the Age Verification will be displayed.
The Layout Type allows choosing the type of layout to display the age verification.
If Buttons is selected, the store administrator can set the following :
If Checkbox is selected, the store administrator can set the following :
The Leave Url specify the URL visitors will be redirected after clicking on "Leave" button. Eg "https://www.google.com/"
In the Leave Text specify the text to appear on the leave button. Eg "Leave".
In the Footer field, specify the content to appear in the footer of age verification block.
Define the popup width in pixels, choose the Background, Text, Button and Links Color of the age verification block.
In the Custom CSS field, insert a custom CSS to adjust/override the default age verification design. If empty, the default design will be used.
Under this section, the store administrator can choose the pages to Display age verification block. To select more than one, hold the Ctrl key down and select each option.
Set Display On Cart Page to "Yes" to display age verification on the cart page.
Under this section, the store administrator can choose the categories to display age verification block. To select more than one, hold the Ctrl key down and select each option.
Under this section, admins can choose the products to display age verification block.
Under this section, store administrator can copy one of the predefined codes and paste it into either the content editor of a CMS page or static block (for template tag), a template file (for template code), a Layout XML file or a Custom Layout Update XML field (Layout XML code).
Once the age verification settings are completed, store administrator can preview the Age verification by clicking on the "Preview" button.
Once age verifications are created, they will display in the storefront on the selected pages.
Example of Age Verification Layout 1 (Buttons)
Example of Age Verification Layout 2 (Checkbox)
The extension is responsive to mobile devices and works great regardless of the type of screen or device used to view your store
Ulmod Support team is always ready to assist you, no matter which part of the world you are in. If something does happen and you think you might be experiencing an issue or bug, please contact us via [email protected] or submit a ticket from our Helpdesk Ticket and we will help you out.
Should you have any questions or feature suggestions, please Contact Us. Your feedback is welcome!