You must be logged in to post


Register? | Lost Your Password?

Search Forums:


 






Wildcard Usage:
*    matches any number of characters
%    matches exactly one character

Pre-sales Terms & Conditions Button for Approval

UserPost

11:29 am
June 3, 2009


jfeigon

Member

posts 9

1

We would like to have our customer's review the Terms & Conditions before purchase, or at minimum, check the box that says they've read the T&C's before purchase – has this been done, if so, how can we apply it to our site?

12:43 pm
June 3, 2009


Market Admin

Admin

posts 4756

2

I suppose you could do this fairly easily by adding a few things to your "single.php" file.

First, you'll add a checkbox and the text regarding your terms (or a link to a popup about them)

Second, you'll add a javascript validation function that tests whether or not the box was checked.

Lastly, you'll add a call to that validation function in your "submit" field button code.  (for the Buy Now button, or the Add to cart buttons — whichever you're using)

So, when your user clicks the "submit" button, it'll run the function to check if the box has been checked.  If it has, it'll proceed.  If it hasn't, it'll show some sort of alert and stop the submit from taking place.

It's real easy for someone who knows coding if you had to outsource it.  In fact, you could probably find some validation function code if you did a Google search.

11:22 pm
June 9, 2009


wolfdogg

Member

posts 52

3

My favorite is at http://iusedtoberich.com/.   Click the view cart and check out how it was added to cart.php.  Looks great!

9:31 am
June 2, 2010


Organicland

Member

posts 14

4

May I know how to add check box and javascript? Thanks!



 

Market takes e-commerce to the next level with an easy to use, quick setup platform. Learn more or take the tour.