What is it for?

This is a small module, that provides a new commerce checkout pane, the content of which can be configured via rules. This comes useful for example when you want to display a certain message to the user depending on the payment method. Using the "Set an entity to be displayed as completion message" action you can even display a node, order or commerce_invoice as completion message.

Instalation

Enable the module like any other Drupal module:
http://drupal.org/documentation/install/modules-themes/modules-7

After enabling this module, two new rules actions are available that allow you to set a custom message which is displayed by default in the /complete checkout step.

The checkout pane, that displays the message, should be enabled by default. If it is not, you can enable it at admin/commerce/config/checkout/form.

Usage

The module provides a new rules event ("Determine rules checkout pane content") and a two new actions ("Set the completion message" and "Set an entity to be displayed as completion message").

Set the completion message
Allows users to display simple messages in the rules commerce pane.

Set an entity to be displayed as completion message
Allows users to display an entity in the rules commerce pane: a node with detailed instructions, or the active order, or user object, etc.

E.g.: If you want to display an existing node:

  1. fetch the entity first - using the already available rules actions ("Fetch entity by ID" or "Fetch entity by propery")
  2. select "entity_fetched" to be displayed in the "Set an entity to be displayed as completion message" action

Project information

  • caution Minimally maintained
    Maintainers monitor issues, but fast responses are not guaranteed.
  • caution Maintenance fixes only
    Considered feature-complete by its maintainers.
  • Module categories: E-commerce
  • chart icon34 sites report using this module
  • Created by Primsi on , updated
  • shieldStable releases for this project are covered by the security advisory policy.
    Look for the shield icon below.

Releases