Community Add-Ons

Maintainers: osc_devel
Add file to this package
Top » InfoBoxes

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

Legend:  Download   Report
Expand All / Collapse All
Terms Acceptance v1.1 Whiskers 27 Oct 2009  

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.

Terms Acceptance 1.0 osc_devel 30 Jul 2008