name = "Order table" ==
{% for item in order.products %} {% endfor %} {% for entry in order.discounts %} {% endfor %} {% if order.shipping %} {% endif %} {% if order.payment and order.payment.total > 0 %} {% endif %} {% for entry in order.taxes %} {% endfor %}
{{ 'offline.mall::lang.product.name' | trans }} {{ 'offline.mall::lang.order.quantity' | trans }} {{ 'offline.mall::lang.product.price' | trans }} {{ 'offline.mall::lang.order.total' | trans }}
{{ item.name }}
{% for option in item.service_options %} {{ 'offline.mall::lang.common.service' | trans }}: {{ option.name }}
{% endfor %}
{{ item.variant_name | raw }}
{% for field in item.custom_field_values %} {{ field.custom_field.name }}: {{ field.display_value }}
{% endfor %}
{% if item.is_virtual %}
{{ 'offline.mall::lang.order.virtual_product_download_hint' | trans }}
{% endif %}
{{ item.quantity }} {{ item.pricePostTaxes() | raw }} {% for option in item.service_options %}
+ {{ option.price_formatted }} {% endfor %}
{{ item.totalPostTaxes() | raw }}
{{ 'offline.mall::lang.order.subtotal' | trans }} {{ order.totalProductPostTaxes() | raw }}
{{ 'offline.mall::lang.common.discount' | trans }}: {{ entry.discount.name }} {{ entry.savings_formatted }}
{{ 'offline.mall::lang.common.shipping' | trans }}: {{ order.shipping.method.name }} {% if order.shipping.appliedDiscount %} ({{ order.shipping.appliedDiscount.discount.name }}, {{ order.shipping.appliedDiscount.savings }} {% endif %} {{ order.shipping.method.price_formatted }}
{{ order.payment_method.fee_label | default(order.payment_method.name) }} {{ order.payment.total | money | raw }}
{{ 'offline.mall::lang.order.grand_total' | trans }} {{ order.totalPostTaxes() | raw }}
{{ entry.tax.name }} ({{ entry.tax.percentage }} %) {{ entry.total_formatted }}