Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This module is an extension of Drupal Commerce that provides a base message pane that allows easier creation of any number of message panes via existing Commerce Checkout hook definitions. The pane is similar to the Checkout "Completion message" pane that comes with Drupal Commerce.
Sponsored by Commerce Guys
Features:
- Formatted message text
- Sub title / alternate pane title
- Required checkbox - adds a required checkbox with customized label; user's response is stored so that the checkbox is pre-populated on returns to that checkout page
- Exportable - all settings are stored in variables
Example Usage:
/**
* Implements hook_commerce_checkout_pane_info().
*/
function MY_MODULE_commerce_checkout_pane_info() {
$checkout_panes = array();
$checkout_panes['MY_MODULE_message_pane'] = array(
'title' => t('Message Example'),
'base' => 'commerce_message_pane', // <== That's all that is needed
);
return $checkout_panes;
}
Similar Modules
- Commerce Extra Panes: Renders a node inside a checkout pane
Project information
- Module categories: Developer Tools, E-commerce
- 71 sites report using this module
- Created by recrit on , updated
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
7.x-1.0
released 22 March 2014
Works with Drupal: 7.x
✓ Recommended by the project’s maintainer.
Development version: 7.x-1.x-dev updated 6 Jul 2016 at 20:22 UTC