Age resctriction
its great that there is now an age restcriction for products but the only thing is you have to click ok for every product I run a pub so this isnt pratical it need to be when one age restriction item is enterted it clears all the other items as well so we are not all pressing the ok button
-
I concur. If the age restriction flag is set, there should be a check to see if a product that is already age restricted is in the cart. If it is, then do not display a second warning.
Possible solutions. Item added to cart, set global variable with the date of the age restriction. If that global variable is set, check it first before displaying the prompt. That way, if an 18+ product is added, and a 21+ product is selected, it will show the age restriction tab again, as it is at a whole new level. But if a 21+ product is added first, they are obviously over 18.
Please sign in to leave a comment.
Comments
1 comment