On this page
Store messages: SMS and WhatsApp
Purpose
The store sends a message to the shopper's phone when something happens to their order, and one reminder about an abandoned cart. The platform writes the message text and decides who receives it; the channel add-on only delivers the message (EC39).
No message is sent until you switch it on. Every message starts Off.
How to get there
Open E-commerce → Store messages and choose the Store at the top of the screen.
Permissions
| Key | Lets you |
|---|---|
ecommerce.messaging.view | Open the screen and see the channels, messages and log, and the order messages on the order page |
ecommerce.messaging.update | Change the settings, edit message texts, and switch messages on and off |
ecommerce.messaging.send | Use Send a test and Send again |
Channels
A store has two channels: SMS and WhatsApp. A channel works only through an add-on that is installed and switched on for the store in Store add-ons.
| Status | Meaning |
|---|---|
| Delivered by … | The channel's add-on is running |
| No add-on installed | Install an add-on for the channel from the marketplace |
| The add-on is switched off | Switch it on in Store add-ons |
| The add-on's licence is not active - nothing is sent | Renew the licence. Messages are recorded in the log as Not sent, and nothing is deleted |
The platform provides two add-ons (EC40):
- Generic SMS: you describe the request to your provider's SMS gateway: the address (https), method, format, request template, the header carrying the secret key, and what a successful answer looks like. It works with most SMS providers without any coding.
- WhatsApp Business: sends through the store's own Meta account (the phone number ID and access token). WhatsApp accepts only templates that Meta has approved, so you enter the approved template name for each language in the message editor.
Test before you switch messages on
Both add-ons have only been tested against local test servers, not yet with a real provider. Use Send a test to your own phone before you switch on any message.
Settings
| Field | Meaning |
|---|---|
| Country of phone numbers | A number entered without a country code gets this country's code. Nothing is sent to an invalid number; it appears in the log with the reason The phone number is not usable |
| Wait before the cart reminder (minutes) | Between 30 minutes and 7 days. Each cart gets one reminder |
Messages and their texts
The Messages table has one message for each event and channel:
| Event | Type |
|---|---|
| Order received, Order confirmed, Payment received, Order shipped, Order cancelled, Payment refunded | Order message: sent to the order's phone number |
| Cart reminder | Marketing - needs opt-in |
To edit a message:
- Select Edit on the message's row.
- Tick Send this message to switch it on.
- Write the Arabic text and the English text. The text is plain, with no formatting. Insert values (order number, order total, order link, customer name, store name and so on) with the buttons below the text. Each message is sent in the order's language.
- For WhatsApp, enter the Approved template name (Arabic) and the Approved template name (English). The template's variables are filled with the values from your text, in the order they appear.
- Select Save. Use the standard text brings back the text the platform provides.
Rules:
- Only the values offered for that message are accepted between double braces. Any other braces are refused, with a message next to the field.
- The text can't be longer than 1,000 characters, and a message that is switched on must have a text.
- Amounts are written in the store currency, as they are on the order.
- The Order shipped message is sent once per order: when its first shipment is created, or when the order is marked fulfilled if it has no shipment (EC48). It has three extra values: Tracking number, Tracking link and Carrier. If the order has no shipment, the number and carrier are empty and the link points to the order page.
Consent
- Order messages go to the phone number the shopper entered on the order. Shoppers are told about them at checkout.
- The cart reminder goes only to shoppers who ticked the marketing-messages consent box at checkout. The box is never ticked in advance, and the cart's phone number isn't saved without it.
- Nothing is sent on a channel to a number that has asked to stop messages on it. Such messages appear in the log with the reason The number asked to stop.
Test sends
- Select Send a test on the message's row.
- Enter the Phone number and choose the Language.
- Select Send the test.
A real message with sample values is sent through the store's channel, and the provider may charge for it. It appears in the log tagged test.
Message log
| Status | Meaning |
|---|---|
| Waiting | Not yet handed to the channel, or waiting for the next attempt |
| Sent | The channel accepted it. It won't be sent again |
| Delivered | The channel reported that it arrived |
| Failed | The provider refused it or the retries ran out. The Reason column explains what happened |
| Not sent | The system didn't send it: no consent, the number asked to stop, the number is invalid, or the add-on is switched off or its licence isn't active |
- A message that couldn't be handed to the channel is retried automatically after 1 minute, then 5 minutes, 30 minutes, 2 hours and 6 hours, for 24 hours at most.
- Send again is available for a failed message.
- Phone numbers are partly masked. Numbers and texts are deleted from the log after 90 days; the log row itself stays.
- Order messages also appear on the order page, under Messages to the customer.
Common errors
| Problem | Fix |
|---|---|
| "No add-on is running for this channel on the store" when you send a test | Install the channel's add-on, complete its settings and switch it on |
| Reason No approved template for this language | Enter the name of the approved WhatsApp template for the order's language |
| Reason The provider refused the message | Check the add-on's settings (the key, the success rule) with your provider |
| Reason The address is not allowed | The SMS gateway address must be https on a public server |