When the age checker is installed it adds code to the live theme automatically. You can install the age checker on a non-live theme by copying the code over.
Here’s what you need to copy:
- First, create a new “agechecker.liquid” file in the Snippets folder, copying the file from your live theme to the non-live theme.
- Then, paste in the the following line just after the opening <body> tag in your theme.liquid file, just like in the live theme.
{% include 'agechecker' %}
The age checker should now work on your non-live theme!