{# /** * @file * Template for the order receipt. * * Available variables: * - commerce_order: The order entity. * - billing_information: The billing information. * - shipping_information: The shipping information. * - payment_method: The payment method. * - totals: An array of order totals values with the following keys: * - subtotal: The order subtotal price. * - adjustments: An array of adjustment totals: * - type: The adjustment type. * - label: The adjustment label. * - total: The adjustment total price. * - weight: The adjustment weight, taken from the adjustment type. * - total: The order total price. * * @ingroup themeable */ #}
|
{{ 'Subtotal: @subtotal'|t({'@subtotal': totals.subtotal|commerce_price_format}) }} |
|
{{ adjustment.label }}: {{ adjustment.total|commerce_price_format }} |
|
{{ 'Order Total: @total'|t({'@total': commerce_order.getTotalPrice|commerce_price_format}) }} |