Skip to main content
Understanding Age Gates

How to edit, disable, and reactivate the age gate for your Treez Ecommerce site

T
Written by Treez Support
Updated over a month ago

Overview

An age gate is a digital checkpoint that confirms a user's age before granting access to specific online content or services, often requiring users to input their date of birth or select an age range. It's commonly used to restrict access to age-sensitive material and comply with legal regulations across industries.

How to Edit Your Treez Ecommerce Site's Age Gate

  1. Login to your Treez Ecommerce content management system (CMS), Prismic

  2. Filter by the “Age Gate” custom type, or search "Age Gate" in the upper right search bar

3. Click on Age Gate to edit the module.

Age Gate Customization Options

  • Add or remove a background image, or change the background color

  • Change the age gate Type and minimum Allowed Age to meet your operation's requirements.

    • Selecting the Simple type allows your website visitors to simply click to agree that they meet your minimum Allowed Age requirement to proceed.

    • Selecting the Date of Birth type will require that your website visitors enter their full date of birth in order to validate their age before proceeding.

  • Update the Agreement Text and/or the Button Text

Publishing Your Age Gate Changes

Once you've customized your site's Age Gate to your liking, click Save and then Publish in the upper right corner.

Then, refresh your Treez Ecommerce site to verify that you see the chances reflected correctly.

Disabling Your Age Gate

If you are using Treez Ecommerce in tandem with another website platform, you may already have an age gate setup. To avoid friction in your shopper experience, we've made it easy to disable the Treez Ecommerce age gate as needed.

  1. In your Treez Ecommerce CMS, find the Age Gate module in the Work (published pages) tab.

  2. Click the checkbox to the left to select the Age Gate module, then click the Archive icon in the upper right, to the left of the search bar.

  3. You will then see a status bar appear at the bottom of the page, with a 5 second countdown until the module is archived. (You may click cancel at this time if you're having seconds thoughts about removing the age gate.)

  4. You'll see a success message appear once the age gate has been archived.

  5. Navigate to the Archived tab to verify that you now see the age gate in the list.

  6. Voila! If you open your site in an incognito window or a new browser, you should no longer see an age gate for new visitors.

Reactivating Your Age Gate

If you previously disabled your age gate and now need it back, no problem! The process to reactivate it is similar to the process to disable it.

  1. In your Treez Ecommerce CMS, find the Age Gate module in the Archived tab.

  2. Click the checkbox to the left to select the Age Gate module, then click the Publish Now icon in the upper right, to the left of the Archive icon and search bar.

  3. You will then see a status bar appear at the bottom of the page, with a 5 second countdown until the module is published. (You may click cancel at this time if you're having seconds thoughts about reactivating the age gate.)

  4. You'll see a success message appear once the age gate has been published.

  5. Navigate to the Work tab to verify that you now see the age gate in the list of published pages and modules.

  6. Voila! If you open your site in an incognito window or a new browser, you should now see the same age gate that will appear for all new visitors.

Did this answer your question?