Compatible with Ubercart 1.0!
Module to add a pane for agreeing terms and conditions and/or revocation rights using a checkbox. Supports file download, print view, page view and iframe view. All options can be activated/deactivated at store administration. See the attached screenshots to see how the pane looks like.
It is highly recommended to use this module in european shops.
German: Das Modul blendet auf Wunsch im Bestellprozess die AGB und das Widerrufsrecht ein, sodass diese vom Benutzer bestätigt werden müssen.
Features:
- Configurable via store administration (admin/store/settings/checkout/edit/legal)
- GTCT/RR could be displayed directly in pane
- Provides print-links
- Provides download-links
- Provides page view of GTCT at path '/gtct'
- Provides page view of RR at path '/revocation'
- Provides input formats
- Provides file upload
- Some theme functions
- I18n-Support
- Translation in German, Dutch
IT WOULD BE REALLY USEFUL IF SOME NATIVE ENGLISH SPEAKER COULD GO IN THE CODE AND CORRECT MY ENGLISH!
Initially released as uc_gtct with keesje
Dutch translation by Fred Klopper
-------------------------------------
TO DO:
- Better theming support
- Possibility to retrieve text from a standard drupal node, see here http://www.ubercart.org/contrib/3781#comment-19735
- Multilanguage bug, see http://www.ubercart.org/contrib/877#comment-13896
- Ability to create unlimited panes (or sub panes), each with is own rules on when to display, see here http://www.ubercart.org/contrib/3781#comment-19998
- Cleanup code
- Correction of my english (always do that please
)
-------------------------------------
CHANGELOG:
04.09.2008: Release Version 1.91
25.08.2008: Release Version 1.9
24.07.2008: Release Version 1.8
13.03.2008: Release Version 1.7
For more information see changelog.txt in the module
| Attachment | Size |
|---|---|
| legalaspectspane-all-features.png | 9.38 KB |
| legalaspectspane-no-features.png | 3.54 KB |
| legalaspectspane-all-features_german.png | 19.32 KB |
| uc_legalaspects_v18.tar | 48 KB |
| uc_legalaspects_v19.tar | 58.5 KB |
| uc_legalaspects_v191.tar | 59.5 KB |



"n/a" displays for anon users
In the legal aspects pane, it works fine for logged in users but anonymous gets "n/a" displayed in the box. Any ideas?
Re: "n/a" displays for anon users
this module seems to be broken for Ubercart 5.x-1.0-rc4, as stephthegeek mentioned with the module displaying "n/a" for anonymous users
Re: "n/a" displays for anon users
I have not seen the module but my guess is the "user access" within hook_menu() is not set right.
===
Elvis McNeely
Blogging about Drupal and web development: http://www.elvisblogs.org/drupal
Offering Drupal, eCommerce and Web services: http://www.lafayetteweb.com
Has development of this stopped?
If so, that is a real pity! This is a sorely needed addition to Übercart, as every shop I've setup has had to somehow ensure their clients legally accept their terms of service.
If someone is willing to update and re-release this, apart from the necessary bug-fixes, I would ask for the following modification to be considered: rather than having to upload a file with terms and conditions, I would rather have a the module retrieve the text from a standard drupal NODE - that is, the user simply specifies which node or URL alias has the Terms and Conditions. This may also make the whole code, as well as the admin interface, simpler.
Many thanks in advance for any updates and continuing support to this module!
Thank you!!!
I was referred to this module by psynaptic, after paypal cut off one of my clients, seems paypal pro uk requires that users opt into a privacy policy. I expect this may be true of other gateways so this module is a MUCH needed addition. The client was running an old version of ubercart (security patched by hand) so we did not hit the bugs mentioned.
I somewhat agree with icouto, that there should be an option to get the text from a node, perhaps integrating with the legal module. I would also say the text "General terms and conditions" should be modifiable from the admin interface. Future developments could be being able to create unlimited panes (or sub panes), each with is own rules on when to display e.g. they may need to confirm they accept the privacy statement for all purchases but some items may require them to also confirm they are over 21 years old etc...
I will try to build in some time (and budget) to my next project to create some of these changes, also if anyone is willing to chip in money to a reverse bounty for new features, please say so. I think this module, with a little work could and should be part of core.
a_c_m
adapt to ubercart 1.0
hi folks,
i´m also a newby ubercart user with no php experince - and i´m also germany based so i was happy to find this contrib. now my question is there any chance that somone push it to a stabel version for ubercart 1.0 (the today actual version). and secon question - anybody out there who would make it integrate with i18 multilanguage support ?
i´m realy in urgent need of a solution as german law for online shops drives me sometimes cracy.
hope to get an answer from you folks out ther !
cheers
carsten
New version 1.8
Back again
I released the new version 1.8 which is fully compatible with Ubercart 1.0 and should fix the most occured problems.
If you get an n/a error, your user needs the "access content" permission.
a_c_m and icouto I like your ideas and put it into the todo-list.
If you have problems or questions to the module, please contact me via PM or my contact form, because it seems that I don't get any email-notification if someone posts a new question in this thread..
Version 1.9
I made a small update:
- Dutch translation-file from Fred Klopper (Thanks!)
- n/a Bug fixed
Version 1.91
Some bugfixes.
Thanks to
senior-strongo and fredklopper2
Coder compliance
Your module fails the coder tests with many errors because you used tabs instead of 2 spaces to indent. I converted the module using
cat uc_legalaspects.module | sed "s/\t/ /" > uc_legalaspects.module
Now it passes the tests just fine. You can get it here: http://therealcha0s.net/ubercart/contrib/uc_legalaspects.zip
EDIT: Oops, sorry. I guess you couldn't download that .module because of my .htaccess blocking it...