May 19,2017 9 min read
When you decide to start selling your products online you may want to have your buyers agree to a set of terms and conditions, you know the annoying things that ask you to check a box after reading pages of legalese before they let you use their system.
I know I just made light of terms and conditions, but they are important aspect to many businesses, even e-junkie has a set of terms and conditions for using our service.
You can view his entire help page on the link above, but let's go over the basics here.
The file you will need can be located here.
You will want to start by saving a copy of that file; do not link your site to the code on Juxtaprose's site, that will cause issues for you.
Once you have the file on your computer, you will want to edit the error message to fit your needs, as that is the message your buyers would see if they neglect to tick the agreement box. The message is in quotes following the
var notAgreeable = variable. You should be able to open the file in any plaintext editor program such as Notepad or TextEdit (never use a word processor such as Microsoft Word to edit code!).
After the message is set the way you want it, you will then need to upload it to your web server.
That's the easier part, next you will need to add extra coding to your pages where you sell products, or at least the products you want the terms and conditions for.
This references the file from above, and needs to point to the its location on your server
<input type="checkbox" id="agree" /> <label for="agree">Check here to agree to our Terms</label>
And finally you will need to change the
onclick event in your Add to Cart button code to say
onclick="return agreed(this);" -- this needs to be changed for each one of your products, like so:
<a onclick="return agreed(this);" href="https://www.e-junkie.com/ecom/gb.php?c=cart&i=XXXXX&cl=XXXXX&ejc=2" target="ej_ejc" class="ec_ejc_thkbx">Add to Cart</a>
Not everyone needs this option, so do not throw it in just because. Also, whenever you add extra coding in, there is always a chance of causing an issue. I would suggest you start by setting up a new/test page with one of the products you already have, or a test product; verify the setup works the way you want for that test page, before you make the changes for the rest of the site.
Is there anything you are wondering how to do in e-junkie, send our support staff an e-mail here.
E-junkie is a service of Sine Info Ventures Pvt. Ltd.© 2004-2018. All rights reserved.