Community Add-Ons
| Maintainers: | osc_devel |
Terms Acceptance 1.0
for osCommerce Online Merchant v2.2
This is a simple modification created to add Terms And Condition Acceptance requirements to the 'create_account.php' page.
Preview included, Easy 3 Step Modification... Online preview will be available shortly through our website http://www.bpas.co.nz
This is my first "contribution", but I noticed when adding this one that there was a couple of things that didn't work correctly.
There was an error showing with the original code:
<!-- SOF TERMS ACCEPTANCE -->
if(!($HTTP_POST_VARS['terms_accept'])){
$error = true;
$messageStack->add('create_account', 'You must accept the Terms and Conditions to continue.');
}
<!-- EOF TERMS ACCEPTANCE -->
This neededsome // in front of the terms acceptance bit for some reason, but not in the other entry.
Once installed, the terms and conditons link goes to an incorrect legal.pdf file. Even though it does state the change needed, I have amended this.
I cannot work out why it still creates an account though even if you don't tick the box. So if someone else has the knowledge to correctly update this please do.
Attached is the updated file so far.
