How to create an age gate for specific product pages only?

Solved

How to create an age gate for specific product pages only?

hellocc
Excursionist
50 0 7

Hi,

 

Would anyone know if there's a way to create an age gate for certain product pages only? So that when you click on that specific product on the collection page it opens an age gate.

I tried adding it in editor but it applied the page age section to all product pages.  Any ideas?

Thank you!

 

Accepted Solution (1)

StephensWorld
Shopify Partner
1400 174 384

This is an accepted solution.

Easiest way to handle this (since it's for only specific products, and not the site as a whole) is the "Enchant Product Age Verifier" app (https://apps.shopify.com/product-specific-age-verifier).

 

If you want something a bit 'sexier' and for it to also support customers having to put in their birthday (instead of just clicking "yes/confirm/okay"), then you can use the "Lifter Age Check" app (https://apps.shopify.com/age-check) instead. 

★ Did my post help? If yes, then please like and accept solution. ★

https://stephens.world
support@stephensworld.ca

View solution in original post

Replies 5 (5)

StephensWorld
Shopify Partner
1400 174 384

This is an accepted solution.

Easiest way to handle this (since it's for only specific products, and not the site as a whole) is the "Enchant Product Age Verifier" app (https://apps.shopify.com/product-specific-age-verifier).

 

If you want something a bit 'sexier' and for it to also support customers having to put in their birthday (instead of just clicking "yes/confirm/okay"), then you can use the "Lifter Age Check" app (https://apps.shopify.com/age-check) instead. 

★ Did my post help? If yes, then please like and accept solution. ★

https://stephens.world
support@stephensworld.ca

hellocc
Excursionist
50 0 7

Thank you so much, Stephen, I'll look into those apps!

Just one more question, would you happen to know if there's a way to add a blurred thumb image on the collection page? And then once you click on that product and you pass the age gate it just goes to the normal product image. Thank you again!

StephensWorld
Shopify Partner
1400 174 384

That would be a bit more difficult to do (I don't believe there's an app for this) -- would probably involve custom coding. 

 

Something like this: https://www.w3schools.com/howto/howto_css_blurred_background.asp 

 

And then you'd need to wrap the coding for the images on the collection pages within 'if' statements, and then add product tags to any products you want potentially blurred, so that the theme would know to check if the product tag has been assigned, and if it has, then to apply the coding for the blur, and if the product tag hasn't been assigned, then to show the regular/clear image. 

 

I'd be happy to take a shot at this, if you wanted to hire me. This isn't something I could do for free, unfortunately. If you're interested in hiring me, please email me directly **Edited by Community Moderator**

 

 

★ Did my post help? If yes, then please like and accept solution. ★

https://stephens.world
support@stephensworld.ca

hellocc
Excursionist
50 0 7

Got it. Let me think about this and I'll contact you if I decide to go with it. Thank you again!

dylanpierce
Shopify Partner
297 14 129

Sounds like you've found your solution for the self-reporting age gate.

But if you need actual age verification through an ID check we also offer that as a service.

You can even limit the ID verification to only products or collections.

https://getverdict.com/help/docs/flows/after-checkout#specific-products-or-collections

ID verification can be prompted before checkout or after, no theme updates required.

Founder of Real ID - Verify your customer's real IDs easily & securely with modern A.I.

Want to see it in action? Check out our demo store.