commerce_checkbox_checkout_pane Pane edit
commerce_checkbox_checkout_pane Checkout example
commerce_checkbox_checkout_pane Review example
commerce_checkbox_checkout_pane order data in devel

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:

  1. Install the module like any other module
  2. Place the checkout pane at admin/commerce/config/checkout
  3. Configure the checkout pane at admin/commerce/config/checkout/form/pane/commerce_checkbox_checkout_pane
  4. Set the KEY / ID to save the checkbox value in $order->data[KEY]
  5. Set the checkbox pane title (typically a fieldset)
  6. Set the checkbox label, description and if the checkbox is required
  7. Try it out :)
  8. 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!

Sponsor a feature or bugfix 🚀

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)

Supporting organizations: 
proudly developed this module for the community

Project information

  • caution Minimally maintained
    Maintainers monitor issues, but fast responses are not guaranteed.
  • caution Maintenance fixes only
    Considered feature-complete by its maintainers.
  • Project categories: E-commerce
  • chart icon7 sites report using this module
  • Created by anybody on , updated
  • shieldStable releases for this project are covered by the security advisory policy.
    There are currently no supported stable releases.

Releases