views:

217

answers:

5

I have a website where you're supposed to be 21 or older to buy the wine from this site. How do I put an "alert" up stating that by clicking through to the buy pages you certify that you are 21 years or older?

+2  A: 

Page 1:

You must be 21 or older to buy wine from this site. By clicking, blah blah blah, legal disclaimer, etc. Contains a link to Page 2.

Page 2:

The main website.

Randolpho
I'd advise against this, since the page with the most google juice (the homepage) is going to have no content on it. Will murder CEO since I'd imagine all pages, and not just the home page, would have to suffer a redirect to go to page 1.
bpapa
And buy CEO I mean SEO. But sure, murder the CEO too.
bpapa
Might want to use a cookie or something to remember whether or not the user has clicked through once; redirect to the first page if it isn't set, skip to #2 if it is.
Shog9
I just saw 'EO' and though 'SEO' bpapa. lol.
Chacha102
@bpapa Nice Freudian slip :)
Mike Sickler
And by "buy", I meant "by." What the hell is wrong with me tonight?
bpapa
It might be that its a Saturday night and you are answering programming questions on the Internet?
Chacha102
@bpapa: too much wine.
Shog9
-1 landing/intro pages are not cool(in all senses of the word)
antony.trupe
Heh.. To all the downvoters: I don't actually recommend doing this, but it's exactly what the questioner asked for.
Randolpho
+5  A: 

I think Randolpho's suggestion is a little too annoying. I think you should just put text next to the 'Buy' button that says 'By Purchasing, you are acknowledging you are 21 or older.'

I also like the way Google has done some of their buttons. They make the button say 'You Agree to Terms and Conditions'. It is much easier than a checkbox.
Note: Just realized forums have been doing it this way for years. lol.

But in all honesty, the least intrusive way to do it without hiding it at the footer, is to either make it the button, or put a note next to the button. That way there are absolutely no extra steps.

BTW, Like Andrew IANAL.

Chacha102
+4  A: 

In addition to being a software developer, I am also a lawyer. IMO, from a legal perspective, you are in much better position to require everyone to register and that the act of registering - requires acknowledging a specific assertion that the user is indeed over 21. In the event the crap hits the fan, you have something affirmative in the system that can be referenced. I would also put a disclaimer at the foot of every page.

Probably not the tech answer you were looking for...but legally, I think it will help you.

To answer your specific question, something like this in your main page could help...

<script language="javascript" type="text/javascript">
alert('By entering this site, you certify that you are at least 21 years of age.');
</script>

Hope that helps...

Should not depend on this -- If the user has Javascript turned off, it will not appear.
Kevin Panko
Good point... Thanks for fixing the post. I wasn't sure how to get tags to show up. JP
-1 alert boxes are incredicly annoying.
antony.trupe
+4  A: 

The way that http://www.wine.com does it, is by requiring you to create an account to buy something, which requires a first name, last name, e-mail, password, zip code and date of birth. Next to the DOB field it says "(Must be 21 yrs old)."

Simple to do and not annoying for users.

Kevin Panko
+1 I totally agree. Check out the competition and do as they do.
Ben Griswold
I disagree (but didn't downvote). You should never force your users to create an account, even to buy something. I think that IS annoying and the statistics back me up. This is exactly the case described in *The $300 Million Button* by Jared Spool (Google it, the article is available for free online).
Imagist
+2  A: 

In this case, I think it is best to check out how the competion handles themselves and mimic the functionality. As previously mentioned, wine.com requires an account and age validation/acknowledgement. I suggest you do the same -- EXACTLY the same -- thing.

Ben Griswold