Sylloo ERP Help Center Sign in

Email and SMS templates

Change the emails and SMS messages Sylloo sends to customers, with the real variables, settings and copy-ready examples.

Updated 1 Nov 2026 8 min read

Email and SMS templates

Sylloo sends emails and SMS messages when something happens, for example when an order is placed, a delivery leaves or a payment arrives. Each message is a small template with a few settings, so the business can change the greeting, the sign-off or the colour without code.

An email has an HTML version and a plain-text version with the same facts. An SMS is plain text only.

When you use this

  • The business wants its own greeting and sign-off in the order confirmation email.
  • You change the colour of the line at the top of every email to the brand colour.
  • You shorten an SMS so it fits into one message part.
  • You add a footer note, such as opening hours, under the contact details.

Theme structure

Messages do not belong to a website theme. Each message is one template with these files:

File What it is for
<name>.html The email in HTML: a table layout with inline styles (for example order_placed.html). For an SMS, the message text.
<name>.txt Emails only: the plain-text version with the same facts.
<name>.json The settings the business can change: {"settings": [...]}. Their values arrive as template.data.<id>.

The message names are the events: order_placed, delivery_sent, payment_received, payment_made, payment_reminder, account_receipt, the booking messages (booking_confirmed, booking_reminder …) and the admission messages (admission_created, admission_bill_due …).

How it works

  1. The business opens SMS and email › Templates and clicks Edit template on a message.
  2. The business changes the settings of that message (greeting, sign-off, accent colour, logo, footer note).
  3. When the event happens, Sylloo fills the template with the record (order, transaction …), the business details (shop) and the settings (template.data) and sends it.
  4. Reset to default brings back the shipped template.

Example: Order confirmation email

This is the main part of the shipped order_placed.html. Every value the business may change comes from a setting with a default.

<table role="presentation" width="600" cellpadding="0" cellspacing="0" border="0" style="width: 100%; max-width: 600px; background-color: #ffffff; border-top: 4px solid {{ template.data.accent_color | default('#1d4ed8') }}; border-radius: 8px;">
<tr>
<td style="padding: 16px 28px 24px; font-family: Arial, Helvetica, sans-serif; font-size: 14px; line-height: 1.6; color: #1e293b;">
<h1 style="margin: 0 0 16px; font-size: 20px;">Order {{ order.code }} confirmed</h1>
<p style="margin: 0 0 12px;">{{ template.data.greeting | default('Hello') }}{% if order.contact.name %} {{ order.contact.name }}{% endif %},</p>
<p style="margin: 0 0 20px;">Thank you for your order. We have received it and will let you know when it is on its way.</p>
<p style="margin: 0 0 4px;">Date: {{ order.order_date }}</p>
<p style="margin: 0 0 4px;"><strong>Total: {{ order.net_amount | currency_sign }}</strong></p>
{% if order.due_amount > 0 %}<p style="margin: 0 0 20px;">Amount due: {{ order.due_amount | currency_sign }}</p>{% endif %}
<p style="margin: 0;">{{ template.data.sign_off | default('Kind regards') }},<br>{{ shop.name }}</p>
</td>
</tr>
</table>

Result: An email with a blue line at the top, the heading "Order SO-1024 confirmed", "Hello Rahim,", the order date, "Total: 1,250.00 ৳", the amount still due when there is one, and "Kind regards, Rahim Traders".

Every function, filter and variable

HTML email (<name>.html)

One HTML document, at most 600 px wide, built with tables and inline styles, because mail programs drop <style> blocks and modern layouts. Pictures only from the business (shop.logo) with alt text and a fixed width.

{% if template.data.show_logo | default('show') != 'hide' and shop.logo %}
<img src="{{ shop.logo }}" alt="{{ shop.name }}" width="120" style="display: block; width: 120px; height: auto; border: 0;">
{% else %}
<span style="font-size: 18px; font-weight: bold; color: #1e293b;">{{ shop.name }}</span>
{% endif %}

Result: The business logo at the top of the email, or the business name in bold when the business chose Hide for Logo or has no logo.

Plain-text version (<name>.txt)

The same facts without HTML, for mail programs that show text only.

Order {{ order.code }} confirmed

{{ template.data.greeting | default('Hello') }} {{ order.contact.name }},

Order: {{ order.code }}
Date: {{ order.order_date }}
Total: {{ order.net_amount | currency_sign }}

{{ template.data.sign_off | default('Kind regards') }},
{{ shop.name }}

Result:

Order SO-1024 confirmed

Hello Rahim,

Order: SO-1024
Date: 26-Oct-2026
Total: 1,250.00 ৳

Kind regards,
Rahim Traders

SMS message

Plain text only, nothing is escaped, and short: one SMS part holds 160 plain Latin characters, or 70 when the text has Bangla letters or emoji. Start with who writes, then the one fact the customer needs.

{%- set sender = template.data.sender | default(shop.name) -%}
{{ sender }}: Your order {{ order.code }} of {{ order.net_amount }} is confirmed. Thank you!

Result: Rahim Traders: Your order SO-1024 of 1,250.00 is confirmed. Thank you! (one SMS part).

Settings schema (<name>.json)

The settings the business can change. Each has id, label, type (text, textarea, select, radio, checkbox, color_picker, range), default, options and a help line in info.

{
    "settings": [
        { "id": "greeting", "label": "Greeting", "type": "text", "default": "Hello", "options": null, "info": "The word before the customer's name." },
        { "id": "sign_off", "label": "Sign-off", "type": "text", "default": "Kind regards", "options": null, "info": "The line above the business name at the end." },
        { "id": "accent_color", "label": "Accent colour", "type": "color_picker", "default": "#1d4ed8", "options": null, "info": null },
        { "id": "footer_note", "label": "Footer note", "type": "textarea", "default": "", "options": null, "info": "A short line under the contact details (opening hours, a return policy, ...)." }
    ]
}

Result: The business sees Greeting, Sign-off, Accent colour and Footer note when it edits the message.

template.data

The values of the settings above. Always add | default('…') with the same default as the schema, so a message still reads well before the business saves anything.

{% if template.data.footer_note %}<p style="font-size: 12px; color: #64748b;">{{ template.data.footer_note }}</p>{% endif %}

Result: The footer note, for example "Open Sunday to Thursday, 9 to 6", only when the business wrote one.

shop

The business details: shop.name, shop.logo, shop.address, shop.mobile, shop.email, shop.website_address.

{{ shop.name }}{% if shop.mobile %} · {{ shop.mobile }}{% endif %}{% if shop.email %} · {{ shop.email }}{% endif %}

Result: "Rahim Traders · 01711-000000 · [email protected]".

order (order_placed, delivery_sent)

The order the message is about: order.code, order.ref, order.order_date, order.delivery_date, order.net_amount, order.paid_amount, order.due_amount, order.contact.name.

{%- set sender = template.data.sender | default(shop.name) -%}
{{ sender }}: Your order {{ order.ref | default(order.code) }} is on the way.

Result: The delivery SMS: "Rahim Traders: Your order SO-1024 is on the way."

transaction (payment_received, payment_made)

The payment the message is about: transaction.code, transaction.date, transaction.payment_method, transaction.amount.

Reference: {{ transaction.code }}
Date: {{ transaction.date }}
Payment method: {{ transaction.payment_method }}
Amount: {{ transaction.amount | currency_sign }}

Result: The payment details, for example "Amount: 500.00 ৳".

currency_sign

The filter | currency_sign formats an amount with the business's currency symbol; the function currency_sign() returns the symbol only.

Total: {{ order.net_amount | currency_sign }}

Result: "Total: 1,250.00 ৳".

What else a message may use

Emails: the functions now(), date(), range(), cycle(), max(), min(), currency_sign(), trans() and the filters abs, capitalize, default, first, format, join, last, length, lower, slice, title, trim, upper, number_to_word, number_to_word_bn, number_format, currency_sign, trans, batch, e/escape, keys, merge, nl2br, reverse, sort, striptags, url_encode, img_url, image_url, media_url; the tags if, for, set, apply, autoescape, verbatim, do. SMS: the functions now(), date(), max(), min(), currency_sign(), trans(), the text filters above with striptags, and the tags if, for, set, apply. Not available in messages: raw, include, extends, theme functions such as media() or t().

Paid in words: {{ transaction.amount | number_to_word }}

Result: "Paid in words: FIVE HUNDRED TAKA ONLY".

How to extend

  1. Change a message: open SMS and email › Templates, click Edit template and change the settings.
  2. Add a choice for the business: add a setting to <name>.json and read it as template.data.<id> with the same default.
  3. Keep both versions: when you change an email's HTML, change its .txt version with the same facts.
  4. Go back: Reset to default brings back the shipped message.

Rules and pitfalls

  • Inline styles only: many mail programs drop <style> blocks; put the styles on each element.
  • Tables for layout: use <table> rows and cells, not flex or grid layouts.
  • Short SMS: aim for one SMS part; a longer text is sent and paid as several parts (153 or 67 characters each).
  • Defaults everywhere: every template.data.<id> gets | default('…').
  • No links you invent: an SMS contains only what comes from the variables, so customers can trust it.

Common questions

Can the business change the email without code? Yes. Greeting, sign-off, accent colour, logo and footer note are settings; the business changes them in Edit template.

Why does my Bangla SMS cost two parts? A message with Bangla letters holds 70 characters per part instead of 160. Keep it short or write it in plain Latin letters.