-
Order status: {{result.orderStatus}}
- {{ @root.__ "Order date" }}: {{formatDate result.orderDate "DD/MM/YYYY hh:mmA"}}
- {{ @root.__ "Order ID" }}: {{result._id}}
- {{ @root.__ "Payment Gateway ref" }}: {{result.orderPaymentId}}
- {{ @root.__ "Payment Gateway" }}: {{result.orderPaymentGateway}}
{{#if result.orderPaymentMessage}}
- {{ @root.__ "Payment Message" }}: {{result.orderPaymentMessage}}
{{/if}}
- {{ @root.__ "Order net amount" }}: {{currencySymbol config.currencySymbol}}{{formatAmount (math result.orderTotal '-' result.orderShipping)}}
- {{ @root.__ "Order shipping amount" }}: {{currencySymbol config.currencySymbol}}{{formatAmount result.orderShipping}}
- {{ @root.__ "Order total amount" }}: {{currencySymbol config.currencySymbol}}{{formatAmount result.orderTotal}}
- {{ @root.__ "Email address" }}: {{result.orderEmail}}
- {{ @root.__ "First name" }}: {{result.orderFirstname}}
- {{ @root.__ "Last name" }}: {{result.orderLastname}}
- {{ @root.__ "Address 1" }}: {{result.orderAddr1}}
- {{ @root.__ "Address 2" }}: {{result.orderAddr2}}
- {{ @root.__ "Country" }}: {{result.orderCountry}}
- {{ @root.__ "State" }}: {{result.orderState}}
- {{ @root.__ "Postcode" }}: {{result.orderPostcode}}
- {{ @root.__ "Phone number" }}: {{result.orderPhoneNumber}}
- {{ @root.__ "Order type" }}: {{result.orderType}}
- {{ @root.__ "Order comment" }}: {{result.orderComment}}
-
- {{ @root.__ "Products ordered" }}
{{#each result.orderProducts}}
-
{{this.quantity}} x {{this.title}}
{{#if this.options}}
>
{{ @root.__ "Options" }}:
(
{{#each this.options}}
{{#if @last}}
{{#upperFirst this.name}}{{/upperFirst}}: {{this.value}}
{{else}}
{{#upperFirst this.name}}{{/upperFirst}}: {{this.value}} /
{{/if}}
{{/each}}
)
{{/if}}
{{currencySymbol @root.config.currencySymbol}}{{formatAmount this.totalItemPrice}}
{{#if productComment}}
Comment: {{this.productComment}}
{{/if}}
{{/each}}