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)

PlaceholderWhat it shows
{{assemblyOrderNumber}}Assembly Order ID number
{{status}}Current status (e.g. In Progress, Complete)
{{type}}Order type
{{alternateIds}}Comma-separated alternate IDs
{{orderDate.short}} / .medium / .longDate the order was created
{{startTime.short}} / .medium / .longDate/time assembly began
{{endTime.short}} / .medium / .longDate/time assembly was completed
{{targetCompletionDate.short}} / .mediumTarget completion date

BOM information (what is being assembled)

PlaceholderWhat it shows
{{bomSku}}SKU of the product being assembled
{{bomDescription}}Description of the assembled product
{{bomName}}Bill of Materials name
{{plannedQuantity}} / .rawPlanned assembly quantity
{{actualQuantity}} / .rawActual assembled quantity
{{assemblyCost}} / .rawTotal assembly (labor/overhead) cost

Assembly location

All assembly location placeholders are nested inside {{assemblyLocation}}.

PlaceholderWhat it shows
{{assemblyLocation.warehouseName}}Warehouse name
{{assemblyLocation.locationName}}Specific bin/location name within the warehouse
{{assemblyLocation.street1}} / .street2Street address lines
{{assemblyLocation.city}} / .state / .zip / .countryAddress components
{{{assemblyLocation.fullAddressBlock}}}Pre-formatted HTML address block (use triple braces)

Manufacturing context

PlaceholderWhat it shows
{{lotNumber}}Lot number assigned to this assembly run
{{processedBy}}Name of the user who processed the order
{{warehouseGroup}}Warehouse group name
{{notes}}Assembly order notes

Component lines loop

Wrap the component rows in {{#componentLines}} ... {{/componentLines}}. Inside the loop:

PlaceholderWhat it shows
{{componentSku}}Component SKU
{{componentDescription}}Component product name
{{componentPerUnitQuantity}}Quantity of this component per assembled unit (from the BOM)
{{componentPerUnitUom}}Unit of measure from the BOM (e.g. EA)
{{requiredQuantity}} / .rawRequired quantity for this order
{{actualQuantity}} / .rawActual quantity consumed
{{availableQuantity}} / .rawAvailable quantity
{{unitCost}} / .rawComponent unit cost
{{totalCost}} / .rawTotal cost for this component line
{{uom}}Unit of measure
{{location}}Bin/location name
{{warehouseName}}Warehouse name
{{lotNumber}}Component lot number
{{notes}}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

PlaceholderWhat it shows
{{totalComponents}}Number of distinct component types
{{totalCost}} / .rawSum of all component line costs
{{grandTotal}} / .rawComponent costs plus assembly cost

<footer style="text-align: right; margin-top: 25px;">
  <img src="{{poweredByLuminousImg}}" alt="Powered by Luminous">
</footer>

Tips

  • .raw on 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 .long variants. 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?