I am trying to add a contribution called 'conditions of use'. It only has two pieces of code that a added to the /catalog/checkout_confirmation.php in a oscommerce install. I am trying to add it to osmax install and can't get the Javascript check to work. I do not know where to locate it in a osmax
install. I have tried main_page.tpl.php, checkout_confirmation.tpl.php and checkout_confirmation.php but the javascipt doesn't do its check? Where do you store Javascript with a BTS install?
It says to add this to checkout_confirmation.php
<!--Start AGB confirmation script -->
<SCRIPT LANGUAGE="JavaScript">
function checkCheckBox(f){
if (f.agree.checked == false )
{
alert('<?php echo CONDITION_AGREEMENT_WARNING; ?>');
return false;
}else
return true;
}
</script>
<!--Start AGB confirmation script -->
<!--Start AGB Agreement form -->
<?php echo CONDITION_AGREEMENT; ?> <input type="checkbox" value="0" name="agree">
<!--Ende AGB Agreement form -->





LinkBack URL
About LinkBacks








Bookmarks