Skip to main content

Force the user to accept legal tems to buy in the web shop

Project description

Beta License: AGPL-3 OCA/e-commerce Translate me on Weblate Try me on Runboat

This module extends your e-commerce legal compliance options:

  1. Require accepting legal terms before submitting a new address.

  2. Log a note in the partner when such terms are accepted.

  3. Log a note in the sale order when terms are accepted before payment (done for every online payment, it is an upstream feature).

Table of contents

Use Cases / Context

This module adds the functionality to require the user to check the checkbox to accept the legal terms in the address form. Additionally, it provides a metadata record for both the user when legal terms are accepted through the address form and for the sales order when legal terms are accepted during the payment process.

It’s worth noting that this module can be useful even if the acceptance of legal terms in the address form is not activated, as it stores a metadata record when the terms and conditions are accepted during the payment process, even if a new address has not been created.

Configuration

To configure this module, you need to:

  1. Install it.

  2. Set up your legal pages.

  3. Go to your e-commerce and make a sample checkout.

  4. Visit /shop/address and enable Customize > Require Legal Terms Acceptance.

    https://raw.githubusercontent.com/OCA/e-commerce/16.0/website_sale_require_legal/static/description/address-enable.png

    This will require acceptance before recording a new address, and log visitor’s acceptance.

  5. Visit /shop/payment and enable Customize > Accept Terms & Conditions (upstream Odoo feature).

    https://raw.githubusercontent.com/OCA/e-commerce/16.0/website_sale_require_legal/static/description/payment-enable.png

    This will require acceptance before paying the sale order, and log visitor’s acceptance.

Usage

To use this module, you need to:

  • Buy something from your website.

Known issues / Roadmap

  • Shopping terms and conditions are accepted only on user registration or address edition. So if those terms change after the user signed up, a notification should be made. An implicit acceptance could be printed in the payment screen to solve this. Maybe that could be a work to develop in another module.

  • If you enable both acceptance views as explained in the configuration section, first-time buyers will have to accept the legal terms between 2 and 3 times to buy.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Tecnativa

Contributors

  • Tecnativa:

    • Rafael Blasco

    • Jairo Llopis

    • Vicent Cubells

    • David Vidal

    • Ernesto Tejeda

    • Cristina Martin R.

    • Pilar Vargas

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

This module is part of the OCA/e-commerce project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page