How to Add age verification to one single collection.

napthyme
New Member
2 0 0

I am using the simple template. I have one collection set up for adult items like dvd's and magazines. I would like to have this age verified and these items also hidden from general inventory so that it does not appear while just brousing the store. Any ideas would be of help. Thanks in advance.

0 Likes

Hello,

It would require Liquid/Javascript/CSS knowledge to implement this feature, I'm afraid that unfortunately there is no simple copy-paste solution otherwise I'd happily guide you through.

Basically you'd need to check whether the current page is the collection page you want and inject some HTML/CSS/JS for the age verification functionality, either via Liquid or Javascript.

In case you're unfamiliar with these technologies you'll need to hire a Shopify developer to assist you.

Kind regards,
Diego

◦ Problem Solved? ✔️ Please click on Accept as Solution and like.
◦ Using a free theme? Improve it with copy/paste code snippets clicking here.
◦ Looking to hire an experienced developer? Same day response: ezfycode@gmail.com.
0 Likes
Touhid500
New Member
3 0 0

Hi napthyme,

This is actually possible with this Shopify app here: https://apps.shopify.com/age-verification-4


That app will allow you to select a specific collection to show the age verification pop up on.

Steve

0 Likes