How to make T&C page?

Problems installing or using the NOP Design Free Shopping Cart that do not fit into one of the above categories.

Moderators: Stefko, Randy, Koibito

How to make T&C page?

Postby nescaf3 » Sat Feb 06, 2010 6:39 am

edited
Last edited by nescaf3 on Tue Feb 09, 2010 12:58 pm, edited 1 time in total.
nescaf3
WebMaster
 
Posts: 18
Joined: Tue Feb 02, 2010 9:38 am

Re: Item still showing after i checkout the cart

Postby Koibito » Sat Feb 06, 2010 1:57 pm

Do a search for 'delete cookies'.
John
Koibito
Site Admin / Guru
 
Posts: 918
Joined: Sun May 28, 2006 1:59 am
Location: New Jersey, USA

How to make T&C page?

Postby nescaf3 » Tue Feb 09, 2010 10:43 am

how to make when ppl comfirm order they go to Terms & Conditions page, and they must click the "I had understand the T&C" before proceed to the checkout page? can some one give me some idea or steps? that i need to change on the original nopcart.
nescaf3
WebMaster
 
Posts: 18
Joined: Tue Feb 02, 2010 9:38 am

Re: How to make T&C page?

Postby unimatrix » Tue Feb 09, 2010 8:13 pm

Put a checkbox in the Checkout page with a link to the T&C. Or include the T&C in an iframe with a checkbox below it on the checkout page. Then you add a Javascript form validation to make sure the T&C box is ticked.

https://www.cgcommerce.com/index.php?storeid=1

Click on Login->Register and see how we've done it.
unimatrix
WebMaster
 
Posts: 36
Joined: Mon Feb 04, 2008 8:19 pm

Re: How to make T&C page?

Postby nescaf3 » Thu Feb 11, 2010 3:28 am

dont really get what u mean, sorry can u just give me some example code so i can understand? but not in pHp (:
nescaf3
WebMaster
 
Posts: 18
Joined: Tue Feb 02, 2010 9:38 am

Re: How to make T&C page?

Postby unimatrix » Fri Feb 12, 2010 6:04 am

Then what you need to do is have the manage cart page go to your T&C page. All it consists of is your terms and conditions with a form that has a single checkbox that is "i agree" with a form validation to make sure that i agree is checked before going to the check out page.
Manage cart would have a different form:
Code: Select all
[code]
<form name="something" action="tandc.html" method="post">
[/code]

T&C page
Code: Select all
<form name="blarg" action="checkout.html" method="post">
<input type="checkbox" name="agree">I Agree to terms and condition. 
<input type="submit" value="Continue to Checkout">
</form>




Then on the checkout page, it checks to make sure that "I Agree" was checked. And the best way to do that is with PHP/ASP/Perl. Such as:

Code: Select all
<?php
$iagree = $_REQUEST['agree'];
if ($iagree != 1) {
die ("Please click back.  You must agree to our Terms and Conditions");
}
?>
unimatrix
WebMaster
 
Posts: 36
Joined: Mon Feb 04, 2008 8:19 pm

Re: How to make T&C page?

Postby nescaf3 » Fri Feb 12, 2010 7:21 am

thats for the explaination but my checkout page is using html, do u mind to help me change the code to html?

sorry i dont know how to use php cause i didnt study before. thanks alot for the help.

another question is the T&C page, where should i put the content?
nescaf3
WebMaster
 
Posts: 18
Joined: Tue Feb 02, 2010 9:38 am


Return to Help: Cart / General

Who is online

Users browsing this forum: No registered users and 1 guest

cron