Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi experts,
I sell alcoholic and non alcoholic products on my website.
I am legally required to capture all customers D.O.B prior to them purchasing any alcoholic items from my website. Note a simple 'are you over 18' check box is not sufficient.
Is there a way I can implement a D.O.B check in the cart, which would prevent them from continuing to the checkout if under 18 years of age and have that data stored when the transaction goes through?
Also if there are no alcoholic items in the cart the prompt/data capture would not be required
I am currently using the 'Taste' theme
Hello 👋
This would be possible if you made creating an account mandatory before checkout and then having a customer registration app like Customer Fields or something similar that implements an age requirement on the DOB field.
Note: this would apply to ALL products not just the alcoholic ones. To differentiate between types of products you'd have to come up with a custom solution.
I hope this helps 😊
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025