When adding a new Message, the following options can be used:
Type
All messages must have a type; this determines the condition that causes a message to be displayed. Some message types have additional special fields or allow dynamic variables in the message body, all of which are detailed below. The possible message types are:
- Minimum Amount
- Simple Message
Name
Gives your message a name so you can easily identify it, and also manage.
Enabled
Enable or disable a message for display in the dashboard.
Content
Compose the message which may contain HTML and the following message variables (depending on the message type):
{remaining_amount} – With type ‘Minimum Amount’ – this is the amount required to add to the order to meet the configured target amount.
Text Button
Optional call to action button text, rendered next to the message.
Button URL
Optional call to action url; this is where the user will go upon clicking the “Call to Action” button.
Minimum order amount
With message type ‘Minimum Amount’, this is the target amount for the message (such as “$100” if that’s the target for expedited shipping). If not specified, the Minimum Order Amount from the free shipping method will be used. As an example, if this value is $30 and the cart items currently add up $20, the message will be displayed and the {remaining_amount} variable will be equal to $10.
Threshold amount
With message type ‘Minimum Amount’, this is the optional threshold amount to activate the message. If set, the cart must contain at least this total amount for the message to be displayed. As an example, if the ‘Threshold Amount’ value is set to $30 and the cart items currently add up $20, the message will not be displayed. Think of it as a “beginning amount” for the message to activate.