It’s been a couple of years since this last inquiry, but has anyone figured out how to apply the snippet to collections or pages?
I want to apply restrictions to some products but not my entire site.
A tutorial explains how to add age verification to Shopify stores selling age-restricted products like alcohol or tobacco. The implementation uses a custom snippet that displays a popup requiring visitors to confirm their age or enter their birthdate.
Key Implementation Details:
age-check snippet in the theme’s Snippets folderisAnAdult) that prevents re-prompting for 2 weeksCommon Issues Reported:
Customization Requests:
Important Caveat: This method does not meet FDA regulatory requirements for tobacco/e-cigarette sales and relies on user honesty.
It’s been a couple of years since this last inquiry, but has anyone figured out how to apply the snippet to collections or pages?
I want to apply restrictions to some products but not my entire site.