{% load i18n %} {% load i18n_address_tags %}{% load static %}
{% trans "Hi!" context "Standard e-mail greeting" %}
{% blocktrans trimmed context "Order confirmation e-mail text" %} Thank you for your order. Below is the list of ordered products. To see your payment details please visit: {{ order_details_url }} {% endblocktrans %}
{% load display_translated_order_line_name from order_lines %} {% load price from taxed_prices %} {% load voucher %}
{% if order.discount_amount %} {% endif %} {% for line in order %} {% endfor %}
{% trans "Subtotal" context "E-mail order lines summary table" %} {% price order.get_subtotal display_gross=order.display_gross_prices html=False %}
{% trans "Shipping" context "E-mail order lines summary table" %} {% price order.shipping_price display_gross=order.display_gross_prices html=False %}
{% if order.display_gross_prices %} {% trans "Taxes (included)" context "E-mail order lines summary table" %} {% else %} {% trans "Taxes" context "E-mail order lines summary table" %} {% endif %} {% price order.total.tax html=False %}
{% trans "Discount" context "E-mail order lines summary table" %} {% discount_as_negative order.discount html=True %}
{% trans "Total" context "E-mail order lines summary table" %} {% price order.total display_gross=order.display_gross_prices html=False %}
{% trans "Item" context "Ordered item name" %} {% trans "Quantity" context "Quantity ordered of a product" %} {% trans "Per unit" context "Unit price of a product" %} {% trans "Subtotal" context "Ordered item subtotal (unit price * quantity)" %}
{% display_translated_order_line_name line %} {{ line.quantity }} {% price line.unit_price display_gross=order.display_gross_prices html=False %} {% price line.get_total display_gross=order.display_gross_prices html=False %}
{% trans "Billing address" context "Order confirmation e-mail billing address" %} {% trans "Shipping address" context "Order confirmation e-mail shipping address" %}
{% if order.billing_address %} {% format_address order.billing_address %} {% else %} {% trans "No billing address" context "Order confirmation e-mail text" %} {% endif %} {% if order.shipping_address %} {% format_address order.shipping_address %} {% else %} {% trans "No shipping required" context "Order confirmation e-mail text" %} {% endif %}
{% blocktrans trimmed context "Base email text" %} This is an automatically generated e-mail, please do not reply. {% endblocktrans %}
{% blocktrans trimmed context "Base email footer" %} Sincerely, {{ site_name }} {% endblocktrans %}