Hi all
I tried today install a "must accept" terms and conditions contribution but i cant get it run.
I tired this
osCommerce: Terms And Conditions Agreement
And have problems to find the following in the checkout_confirmation.php and chekout_confirmation.tpl.php:
The rest of the modifications work and the checkbox is showing. Just the Problem that it dont have to been checked is there.Code:Make the following modifications to /catalog/checkout_confirmation.php Around line 35, after this line: <link rel="stylesheet" type="text/css" href="stylesheet.css"> add: <!-- Agree to Terms and Conditions - added by MC --> <SCRIPT LANGUAGE="JavaScript"> function checkCheckBox(f){ if (f.agree.checked == false ) { alert('<?php echo CONDITION_AGREEMENT_WARNING; ?>'); return false; }else return true; } </script> <!-- End Agree to Terms and Conditions -->
Anyone a idea?
Cheers
Jens





LinkBack URL
About LinkBacks










Bookmarks