Checkout messages are used to display messages to the user when they are finalising their order. You might use checkout messages to communicate:
|
When a checkout message is displayed, there is is an option for a confirmation box to be added so that the user must acknowledge the message before continuing.
Displaying this message is enabled by adding the Checkout Messages widget in the relevant template, e.g., Cart. Further editing of display information options is also available in the widget. See the help page for the Checkout Messages widget. |
Checkout messages are shown to all users at the checkout stage, but they can be configured so that the message is only shown when certain criteria is met, such as:
To Create a Checkout Message:
- In the CMS, navigate to Settings → Checkout Messages.
- Click New.
- Enter the 'Sort Code/Mask' to define a product category:
- enter the sort code for one category of products,
- enter '%' for ALL products in all categories, or
- leave blank if using an 'Override Query'.
- Set the value for 'Is Plain Text?':
- Ticked - The message is plain text and will be displayed as is.
- Unticked - The message is HTML and will be displayed as rendered HTML code, with site styles, formatting, etc.
- Set the value for 'Requires User Confirmation':
- Ticked - Displays a checkbox that the user must enable before being allowed to continue
- Unticked - Message is displayed, user does not need to enable to continue
- Enter an 'Override Query' if required (see examples below).
- Set the value for 'Applies to Mode' to indicate whether the message applies to B2B, B2C or both user roles.
- Select the 'Top Template' if applicable (leave blank for BPD sites).
- Select the 'Field Group Name' if applicable.
- Select the 'Bottom Template' if applicable (leave blank for BPD sites).
Click 'OK' to save changes.
Setting | Description |
---|---|
Sort Code/Mask | The sort code or category code. Can also use wild cards for multiple categories , i.e. SX123% |
Message | The message that is displayed to the user, this can be written in plain text or alternatively writing using HTML Code. |
Is Plain text? | Used to identify whether the message is displayed as plain text or HTML Code which will be rendered to the user. |
Requires User Confirmation | Used to include a checkbox for the user to select before they can continue. |
Override Query | Used to define alternative criteria to be met before the message is displayed to the user. An example would be: product.conditioncode = 'T' |
Applies To Mode | Used to specify whether the message is displayed to B2B users, B2C users or both. |
Top Template | The template that is displayed above the message. |
Field Group Name | The fieldgroup that is defined on the prontosalesorder table to be displayed along with the message. |
Bottom Template | The template that is displayed below the message. |
When setting up a checkout message, The 'Sort Code/Mask' and 'Override Query' fields are used to define the criteria for whether or not a checkout message is displayed to the user. The following values will provide an example of how to display a checkout message for various scenarios. |
|
Code = 'ABC123' |
'Override Query': Enter the following query and substitute AB-12345 for the product code.
productcode = 'AB-12345' |
'Override Query': Enter the following query and substitute 'CV120','CV200','CV250' with your own product codes (comma-separated)
productcode in ('CV120','CV200','CV250') |
'Override Query': Enter the following query.
(soOrderTotalAmount-SoOrderTotalTax) > 200 |
-- |
Minimum Version Requirements |
| |
---|---|---|
Prerequisites |
| |
Self Configurable |
| |
Business Function |
| |
BPD Only? |
| |
B2B/B2C/Both |
| |
Ballpark Hours From CV (if opting for CV to complete self config component) |
| |
Ballpark Hours From CV (in addition to any self config required) |
| |
Third Party Costs |
| |
CMS Category |
Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.