How to Add age verification to one single collection.

Highlighted
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
Highlighted
Astronaut
1088 182 215

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.
◦ Hire me! Recommended by 25+ customers on Facebook. Click here to read their reviews.
◦ Contact me at: diego.boarutto.fortes@gmail.com
0 Likes