Part of the Commerce ecosystem · 487 projects
This module adds a configurable checkbox to the Drupal Commerce checkout process. It allows you to ask users for consent or opt-in for specific actions, saving their choice directly to the order. This can be used for various purposes, such as agreeing to terms or sharing information with shipping services.
TL;DR:
Technically, this is yet another (optionally required) checkbox checkout pane with a custom label and description, saving a value into the commerce order object.
Usage example:
Concretely, we needed this helper module to add a Drupal Commerce checkout pane to let the user opt-in to sharing the eMail address with a shipping service. But this can be used for any other case where a checkout pane with a checkbox is needed and should be saved into the order.
Functionality & Use:
- Install the module like any other module
- Place the checkout pane at
admin/commerce/config/checkout - Configure the checkout pane at
admin/commerce/config/checkout/form/pane/commerce_checkbox_checkout_pane - Set the KEY / ID to save the checkbox value in
$order->data[KEY] - Set the checkbox pane title (typically a fieldset)
- Set the checkbox label, description and if the checkbox is required
- Try it out :)
- Help coding and fixing possible issues
Alternatives
Supporting this module
Support DROWL's ♥ FOSS work on this module on OpenCollective!
Drupal and this module are FOSS. However, it takes dedicated people to develop and maintain. And they need YOU to give back!
We're committed to building and maintaining Drupal modules that benefit the entire community.
Supporting us on OpenCollective helps us continue to improve, innovate and contribute to Drupal's future. Every pledge makes a difference!
If this module has helped you, we would be very grateful for your donation to support its further development and maintenance.
Support our FOSS development ♥️
You can also speed up the development of features or bugfixes you'd love to see, by sponsoring and giving back!
Let's make Drupal even better, together!
Development proudly sponsored by German Drupal Friends & Companies:
webks: websolutions kept simple (https://www.webks.de)
and
DROWL: Drupalbasierte Lösungen aus Ostwestfalen-Lippe (OWL), Germany (https://www.drowl.de)
Ask your assistant about Commerce Checkbox Checkout Pane
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
More in the Commerce ecosystem
Most installed first
Activity
Release Timeline
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 2.0.0-beta4 | Pre-release | 10–11 | Nov 22, 2024 | ||
| 2.0.0-beta3 | Pre-release | 10–11 | Nov 22, 2024 | ||
| 2.0.0-beta2 | Pre-release | 10–11 | Aug 30, 2024 | ||
| 2.0.0-beta1 | Pre-release | 10–11 | Aug 30, 2024 | ||
| 2.x-dev | Dev | 10–11 | Aug 30, 2024 |