Template placeholders
The order, customer and business details you can add to invoices, packing slips, labels, the invoice email and the tracking page.
Placeholders are replaced with real details when a document is printed, an email is sent or a tracking page is opened. Add them with Insert placeholder in the template editor, which puts them at your cursor. See Document and email templates.
A placeholder is written in double curly braces, for example {{order.number}}.
Invoices, packing slips, labels and the invoice email#
Your business#
| Placeholder | Shows |
|---|---|
{{account.name}} | Your business name |
{{account.logo}} | Your logo, for an image's src |
{{account.businessNumber}} | Your business number (ABN) |
{{location.line1}}, {{location.line2}}, {{location.suburb}}, {{location.state}}, {{location.postalCode}} | The address of your default location |
The order#
| Placeholder | Shows |
|---|---|
{{order.number}} | The order number |
{{order.reference}} | The order reference printed on labels (channel and order number) |
{{order.date}} | The order date |
{{order.notes}} | The buyer's notes |
{{order.lineItems}} | The items of the order (inserts a list of items, see below) |
{{order.itemsReference}} | The quantity and SKU of every item, in one line |
The customer and delivery address#
| Placeholder | Shows |
|---|---|
{{customer.name}}, {{customer.firstName}}, {{customer.email}} | The customer's name, first name and email |
{{shippingAddress.contact}} | The person receiving the parcel |
{{shippingAddress.line1}}, {{shippingAddress.suburb}}, {{shippingAddress.state}}, {{shippingAddress.stateCode}}, {{shippingAddress.postalCode}} | The delivery address |
{{shippingAddress.phone}} | The delivery phone number |
Totals#
| Placeholder | Shows |
|---|---|
{{totals.subtotal}}, {{totals.shipping}}, {{totals.tax}}, {{totals.total}} | The order subtotal, shipping, tax and total |
{{totals.symbol}} | The currency symbol |
Tracking (invoice email only)#
| Placeholder | Shows |
|---|---|
{{tracking.url}} | The tracking page link, when the courier is tracked |
{{tracking.number}} | The tracking number |
{{tracking.courier}} | The courier |
These only have a value in the invoice email, and only when the shipment has a tracking page. Wrap them in an {{#if tracking.url}} block so nothing shows when there is no tracking.
Lists and conditions#
Show something only when a value exists:
{{#if order.notes}}Notes: {{order.notes}}{{/if}}
List the order items:
{{#each order.lineItems}}
{{quantity}} x {{title}} ({{sku}}) {{price}}
{{/each}}
Inside the list, each item has title, sku, variation, quantity, price and imageUrl.
You can also use {{upper ...}}, {{lower ...}} and {{capitalize ...}} to change the case of a value, for example {{upper order.reference}}.
Tracking page#
The branded tracking page has its own placeholders:
| Placeholder | Shows |
|---|---|
{{brand.name}} | Your business name |
{{brand.logo}} | Your logo |
{{order.number}} | The order number |
{{shipment.tracking}} | The tracking number |
{{shipment.statusLabel}} | Where the parcel is, in words (for example Out for delivery) |
{{shipment.deliveredAt}} | The delivery date, once delivered |
{{shipment.eta}} | The estimated delivery date, when the courier provides one |
{{shipment.courier}} | The courier |
{{shipment.courierTrackingUrl}} | The courier's own tracking page |
{{shipment.events}} | The tracking history (a list) |
{{shipment.steps}} | The progress steps (a list) |
{{shipment.redirectOptions}} | Delivery change options, when the courier offers them |
{{shipment.podUrl}} | The proof of delivery image, when available |
{{support.email}} | The support email for the shipment, when available |
Tips#
- If a placeholder shows nothing, that detail is missing on the order, for example an order with no notes.
- Use Refresh in the preview to check your placeholders with the sample order.
- Not sure how to write it? Ask the AI Assistant, for example "Show the SKU and variation next to each item".