Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Want agree to terms in checkout


211655

Recommended Posts

Posted

Hi,

I just want to add this checkbox to any of the checkout page so consumers can agree to my terms.

 

i have written this html which works fine for me.. how do i incorporate it to the psc checkout page...

<html>
<head>
<script language="javascript" type="text/javascript">
<!----
function salesnewwindow(){
if (theForm.salesbox.checked == false)
 {
   alert("Sorry In order to continue you must agree to the terms and conditions of our site");
   theForm.salesbox.focus();
   return (false);
 }
 
 return (true);
}
 //-->
</script>
</head>
<body>
<form onsubmit="return salesnewwindow()" name="theForm" action="yahoo.com" method="post">
<input type=checkbox value="check" name="salesbox"><font color="red">Yes, 
I agree with our site <a href="javascript:popupwindow()">Sales Terms.</a><br>
<input type="submit" name="submit" value="enter">
</form>
</body>
</html>

 

 

Please guide as i have no clue ho wthe form is going through. i am working on the live store.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...