What placeholder variables are available in Assembly Order HTML export templates?
Last updated: September 25, 2026
Assembly Order HTML template placeholders
Assembly Order HTML templates use Mustache syntax. Wrap any placeholder name in double curly braces — {{assemblyOrderNumber}} — or triple braces for pre-formatted HTML blocks — {{{assemblyLocation.fullAddressBlock}}}.
To browse placeholders interactively, open the template in Manage → Templates, set Configuration Mode to Use Custom HTML, and click Insert Placeholder (above the HTML editor) to open the Browse Placeholders dialog.
Assembly Order details (top-level)
Placeholder | What it shows |
|---|---|
| Assembly Order ID number |
| Current status (e.g. In Progress, Complete) |
| Order type |
| Comma-separated alternate IDs |
| Date the order was created |
| Date/time assembly began |
| Date/time assembly was completed |
| Target completion date |
BOM information (what is being assembled)
Placeholder | What it shows |
|---|---|
| SKU of the product being assembled |
| Description of the assembled product |
| Bill of Materials name |
| Planned assembly quantity |
| Actual assembled quantity |
| Total assembly (labor/overhead) cost |
Assembly location
All assembly location placeholders are nested inside {{assemblyLocation}}.
Placeholder | What it shows |
|---|---|
| Warehouse name |
| Specific bin/location name within the warehouse |
| Street address lines |
| Address components |
| Pre-formatted HTML address block (use triple braces) |
Manufacturing context
Placeholder | What it shows |
|---|---|
| Lot number assigned to this assembly run |
| Name of the user who processed the order |
| Warehouse group name |
| Assembly order notes |
Component lines loop
Wrap the component rows in {{#componentLines}} ... {{/componentLines}}. Inside the loop:
Placeholder | What it shows |
|---|---|
| Component SKU |
| Component product name |
| Quantity of this component per assembled unit (from the BOM) |
| Unit of measure from the BOM (e.g. EA) |
| Required quantity for this order |
| Actual quantity consumed |
| Available quantity |
| Component unit cost |
| Total cost for this component line |
| Unit of measure |
| Bin/location name |
| Warehouse name |
| Component lot number |
| Line-level notes |
SKU custom fields and variant attributes are also available inside the loop via {{skuCustomFields.yourFieldName}} and {{variantAttributes.yourAttributeName}}. Use the Insert Placeholder panel to see the field names specific to your account.
Order custom fields
To output all order-level custom fields as a list:
{{#orderCustomFieldsList}}
<div><strong>{{key}}:</strong> {{value}}</div>
{{/orderCustomFieldsList}}
To target a specific field by name: {{orderCustomFields.yourFieldName}}
Assembly totals
Placeholder | What it shows |
|---|---|
| Number of distinct component types |
| Sum of all component line costs |
| Component costs plus assembly cost |
Branding footer
<footer style="text-align: right; margin-top: 25px;">
<img src="{{poweredByLuminousImg}}" alt="Powered by Luminous">
</footer>
Tips
.rawon a number or currency placeholder gives you the unformatted numeric value, useful for calculations or conditional logic.Date objects (like
orderDate) always have.short,.medium, and.longvariants. Test for a set date with{{#startTime.short}} ... {{/startTime.short}}.Triple braces (
{{{ }}}) output pre-rendered HTML (address blocks). Use double braces everywhere else to HTML-escape the value.The default template that loads when you create a new HTML-mode Assembly Order template already demonstrates all major sections — use it as a starting point.
For related reading, see How do Bills of Materials (BOMs) and assembly orders work in Luminous? and How do I set a default Assembly Order export template?