Message templates and variables
Which SMS is sent to each order state, which variables accept the templates and how you only put text for cash on delivery.
What standard in what condition#
- Edited → Message for New Order. This is usually where orders arrive with cash out payment and paid by card arrive.
- Waiting for payment or Standing by → Message for Change in Order Status. This is where the bank deposit lives, for example.
- Complete → Message for Complete Orderor Message for Store Pickup Order if the order has Pick-up from the store And the template is not empty.
- Cancelled, refunded or failed → no SMS sent.
Variables#
| Variable | What does it say? |
|---|---|
{first_name}, {last_name} | Name and surname of the billing data. |
{order_number} | Order ID. |
{order_total} | Set as a number, without symbol. Write the € for yourself. |
{old_status}, {new_status} | The previous and the new situation. |
{voucher_code} or {tracking_number} | Voucher number, if any. |
{tracking_url} | The courier monitoring link. SMSAPI is sent as a short SMSAPI link. |
{courier_name} | The name of the courier, e.g. ACS Courier. |
Text only for cash on delivery#
Whatever you write between {if_cod} and {endif_cod} it only appears in orders with cash on delivery.
Example for complete order#
Γεια σας {first_name}, η παραγγελία {order_number} στάλθηκε με {courier_name}. Αριθμός: {voucher_code}. {if_cod}Ποσό αντικαταβολής: {order_total} €. {endif_cod}Παρακολούθηση: {tracking_url}

If the order number your customers see is different from the ID (e.g. with a numbering plugin), the {order_number} Shows ID.
Send a request; the plugin and the article are automatically completed.