In some countries you have to present the terms&conditions for each purchase by law.
I tried to implement this by adding a legal_checkoutapi function, as documented in e-commerce docs.
Patch added, please review.

Comments

sanduhrs’s picture

The new patch is adding a checkbox to legal.module settings page to de-/activate this functionality.
Please review.

robert castelo’s picture

Stefan thanks for the patch.

This feature looks useful, and I'll try and commit it.

Apologies if this takes a couple of weeks, my workload is quite heavy at the moment.

I'm currently working to integrate T&C with webform, so you can add it to surveys and competitions.

steinfahrer’s picture

Thanks for the patch so far... Unfortunatly, after updating the code in legal.modul and activation in Drupal the t&c shows up during the checkout in ecommerce but doesn't continue the checkout process. I get the errormessage if I don't check the "I agree" box but if I check the box, nothing happend :-(

sanduhrs’s picture

Assigned: sanduhrs » Unassigned
Status: Needs review » Closed (fixed)

unassigning.

xamount’s picture