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

Project information

Releases