Commerce Checkbox Checkout Pane
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)
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.
Activity
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 2.0.0-beta4 | Pre-release | Nov 22, 2024 | |||
| 2.0.0-beta3 | Pre-release | Nov 22, 2024 |