Jump to content

Customer must be over certain age


Recommended Posts

Hi,

 

I know I have asked this before and there was not an option, but I am now getting

desperate for a solution.

 

I have the need for a 'tick' box to confirm that someone is over the legal age

to buy something, which once ticked will allow that person to buy certain items which

by law require them to be over say 18 or 21

 

any ideas?

 

 

/--- Paul

Share this post


Link to post
Share on other sites

you could use the built in 'Terms of service' button,

back office-->preferences-->set Terms of service to Yes

 

this forces the client to accept the terms of service, which can state your own particular terms. via back office-->tools-->cms

 

That are lots of ways to skin a cat, but this requires no coding changes. There might be a module to satisfy this, I'd post in the paid modules if you require more than what I've suggested.

Share this post


Link to post
Share on other sites

Or you could just remove ages that you do not want, for example, years earlier that your needs.

 

You can find this code in classes/Tools.php at lines 1046-1051. If you want to change something, please read other topics about overriding classes.

Share this post


Link to post
Share on other sites

 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More