{# include this template to list all items of the given order #} {% load i18n %} {% block email-order-thead %} {% endblock email-order-thead %} {% block email-order-tbody %} {% for item in data.items %} {% endfor %} {% endblock email-order-tbody %} {% block email-order-tfoot %} {% for key, extra_row in data.extra.rows %} {% endfor %} {% endblock email-order-tfoot %}
{% block email-order-caption %}{% trans "Summary of Your Order" %} {{ data.number }}{% endblock %}
{% trans "Product" %} {% trans "Quantity" %} {% trans "Price" %}
{{ item.summary.media|safe }} {{ item.quantity }} {{ item.line_total }}
{{ item.summary.body|safe }} {% for modifier, extra_row in item.extra.rows %}

{{ extra_row.label }}: {{ extra_row.amount }}

{% endfor %}
{% trans "Subtotal" %}: {{ data.subtotal }}
{{ extra_row.label }}: {{ extra_row.amount }}
{% trans "Total" %}: {{ data.total }}