Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
maxLevel4

Overview


Multiexcerpt
MultiExcerptNameFeature Overview

Checkout messages are used to display messages displayed to the user when they are finalising their order. You might use checkout messages For instance, they can be used to communicate:

  • Certain applicable rules and regulations to be taken into account when purchasing certain products, e.g., ie hazardous substance warnings; 
  • Changes changes to orders over holiday periods;
  • Expected expected shipping delays on certain products.

Image Removed

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.

Info
titleDisplaying Checkout Messages

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. 

...


Image Added

Note - There is an option to add a confirmation box in the checkout message. If this is enabled, the user must acknowledge the message to continue with Checkout.


Checkout messages can be shown to all users at the checkout stage , but they a message can be configured so that the message it is shown only shown when certain criteria is are met, such as. For example, you can set messages for

  • Orders orders with products from a specific category;
  • Specific specific customers;
  • Orders orders containing specific products;
  • Orders orders over/under/between certain dollar values.

Note - if two or more set messages are applicable to an order, both messages will appear in the checkout message box. 

Step-by-step guide 

...

1. Create a Checkout Message

...

...

Override Query

...

  1. In the CMS, navigate to SettingsCheckout Messages. 

  2. Click New.

  3. Enter the 'In Message, enter the message to be displayed to the user. 
  4. Use Sort Code/Mask' to  to define a product category: 
    1. enter the sort code for one category of products, 
    2. enter '%' for ALL products in all categories,
    3. wildcards for multiple categories, i.e., 'SX123%' or 
    4. leave blank if using an 'Override Query'.

  5. Set the value for 'For Is Plain Text?':
    1. Ticked - The message is plain text and will be displayed as is.
    2. Unticked - The message is HTML and will be displayed as rendered HTML code, with site styles, formattingTick for the message to be displayed in plain text with no applied formatting.
    3. Untick for the message to be displayed by HTML formatting and site styles, etc.  

  6. Set the value for 'For Requires User Confirmation':
    1. Ticked - Displays Tick to display a checkbox that the user must enable tick before being allowed to continue
      Unticked - Message is displayed, user does not need to enable to continue
    2. Untick for the message to display without confirmation from the user

  7. 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).
  8. 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.
Used in conjunction with the 'Is Plain Text?' setting.

...

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.

  1. . Note - This field works together with Sort Code/Mask. See Defining the criteria for checkout messages below. 

    Info

    An override query is used to define alternative criteria to be met before the message is displayed to the user.

...


  1. The following tables can be used:
    ProntoSalesOrder
    ProntoSalesOrderLine
    Customer
    Product

    An example would be:

    product.conditioncode = 'T'


    See more examples below. 


  2. For Applies

...

  1. to Mode, set whether the message

...

  1. applies to B2B

...

  1. , B2C

...

Field Group Name

...

  1. or both user roles.

...

Top Template

...

The template that is displayed above the message.


...

  1. (For classic sites only. Leave blank for BPD sites.) For the Top Template (displayed below the message), select the required template, if applicable.

  2. (For Pronto only.) For Field Group Name, select the fieldgroup that is defined on the prontosalesorder table to be displayed along with the message. 

...

Bottom Template


  1. (For classic sites only. Leave blank for BPD sites.) For the Bottom Template (displayed below the message), select the required template, if applicable.

  2. To save these changes, click OK.

Anchor
Criteria
Criteria

Defining the criteria for checkout messages 

Info

When setting up a checkout message, The 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.

...

Tip
titleCheckout Message Examples

You might find these scenarios helpful when creating your own Checkout Messages.

When a Product in a specific Category is in the Cart:
  • 'Sort Code/Mask': Enter the Category code. i.e. SX123456
  • 'Override Query': Leave blank.

When a Product under a higher level Category is in the Cart:
  • 'Sort Code/Mask': Enter the Parent Category code and add a percentage sign to indicate any categories under that tree. i.e. SX12%
  • 'Override Query': Leave blank.

For a specific Customer:
  • 'Sort Code/Mask': Leave blank.
  • 'Override Query': Enter the following query and substitute ABC123 for the customer code.

    Code Block
    sql
    sql
    Code = 'ABC123'


When a specific Product is in the Cart:
  • 'Sort Code/Mask': Leave blank.
  • 'Override Query': Enter the following query and substitute AB-12345 for the product code.

    Code Block
    sql
    sql
    productcode = 'AB-12345'


When one (or more) of several Product is in the Cart:

 

  • 'Sort Code/Mask': Leave blank.
  • 'Override Query': Enter the following query and substitute 'CV120','CV200','CV250' with your own product codes (comma-separated)

    Code Block
    productcode in ('CV120','CV200','CV250') 



When the Cart Amount is greater than $200.00 Ex Tax:
  • 'Sort Code/Mask': Leave blank.
  • 'Override Query': Enter the following query.

    Code Block
    sql
    sql
    (soOrderTotalAmount-SoOrderTotalTax) > 200



3. Enable Checkout Message

Displaying the Checkout Message is enabled by adding the Checkout Messages widget in the relevant template, e.g., Cart. Further display options are also available in the widget. See the help page for the Checkout Messages widget. 

Additional Information


Multiexcerpt
MultiExcerptNameAdditional Info
 --

...

Minimum Version Requirements


Multiexcerpt
MultiExcerptNameMinimum Version Requirements
**.**.**


Prerequisites


Multiexcerpt
MultiExcerptNamePre reqs

--


Self Configurable


Multiexcerpt
MultiExcerptNameSelf Configurable

Yes


Business Function


Multiexcerpt
MultiExcerptNameBusiness Function

Marketing


BPD Only?


Multiexcerpt
MultiExcerptNameBPD Only

Yes


B2B/B2C/Both


Multiexcerpt
MultiExcerptNameB2B/B2C/Both

Both


Ballpark Hours From CV (if opting for CV to complete self config component)


Multiexcerpt
MultiExcerptNameBallpark Hours From CV (if opting for CV to complete self config component)

Contact Commerce Vision


Ballpark Hours From CV (in addition to any self config required)


Multiexcerpt
MultiExcerptNameBallpark Hours From CV (in addition to any self config required)

Contact Commerce Vision


Third Party Costs


Multiexcerpt
MultiExcerptNameThird Party Costs

n/a


CMS Category


Multiexcerpt
MultiExcerptNameCMS Category

Checkout


Related help

Content by Label
showLabelsfalse
max5
spacesKB
showSpacefalse
sortmodified
reversetrue
typepage
excludeCurrenttrue
cqllabel = "widget" and type = "page" and space = "KB" and title ~ "Checkout Messages widget"
labelsCheckout message

...