Hi,
I have review the project detail and understood the requirements. According to me you want to put a popup on site when user will open. User have to enter the age before go further and also checkout time also have to again do it.
I am able to achieve it. Need to make customization in bigcommerce.
Regards,