How to add age verification to Vend Ecommerce


Latest update: - Ashleigh Burns

Objective

Add an age restriction notifier to the default theme homepage.

Setup

  • Vend for Mac or PC
  • Vend Ecommerce

Steps

  1. In Vend Ecommerce click Design
  2. Click Alpaca or (Default Theme)
  3. Click Edit HTML/CSS on the top right 
  4. In the theme editor, locate Snippets and click Add a new snippet 
  5. Name the snippet: age-check and click Save
  6. Copy and Paste the following script into age-check snippet, here is the link for the script 
     https://github.com/carolineschnapp/age-check/blob/master/age-check.liquid

  7. Click Save
  8. In the theme editor, locate Layout and click theme.liquid 

  9. In the code editor scroll down until you see the opening <body> tag
  10. Right after the opening <body> tag, paste the following code: 
    {% include 'age-check' %}
  11. Click Save 

Additional Information

To view the recent changes click Visit Online Store.

 

Powered by Zendesk