subject = Order Completed
layout = system
==
{{ 'pixel.shop::mail.shipped'|trans }}
{% partial 'badge' status=order.status body %}
#{{ 'pixel.shop::lang.fields.order'|trans }} #{{ order.getOrderID() }}
**{{ 'pixel.shop::mail.shipped_text'|trans }}**
{% endpartial %}
**{{ 'pixel.shop::component.order.to'|trans }}**
{{ order.customer_fullname }}
[{{ order.customer_email }}](mailto:{{ order.customer_email }})
{% if order.custom_fields.customer %}
{% for field in order.custom_fields.customer %}
**{{ field.label }}**
{{ field.value }}
{% endfor %}
{% endif %}
{% partial 'items' order=order %}
{% if order.billing_address %}
**{{ 'pixel.shop::lang.fields.billing_address'|trans }}**
{{ order.billing_address.first_line }}
{% if order.billing_address.city %}
{{ order.billing_address.city }},
{% endif %}
{% if order.billing_address.state %}
{{ order.billing_address.state }},
{% endif %}
{% if order.billing_address.country %}
{{ order.billing_address.country }}
{% endif %}
{% if order.billing_address.zip %}
{{ 'pixel.shop::lang.fields.postal_code'|trans }}: {{ order.billing_address.zip }}
{% endif %}
{% endif %}
{% if order.custom_fields.billing %}
{% for field in order.custom_fields.billing %}
**{{ field.label }}**
{{ field.value }}
{% endfor %}
{% endif %}
{% if order.shipping_address %}
**{{ 'pixel.shop::lang.fields.shipping_address'|trans }}**
{{ order.shipping_address.first_line }}
{% if order.shipping_address.city %}
{{ order.shipping_address.city }},
{% endif %}
{% if order.shipping_address.state %}
{{ order.shipping_address.state }},
{% endif %}
{% if order.shipping_address.country %}
{{ order.shipping_address.country }}
{% endif %}
{% if order.shipping_address.zip %}
{{ 'pixel.shop::lang.fields.postal_code'|trans }}: {{ order.billing_address.zip }}
{% endif %}
{% endif %}
{% if order.custom_fields.shipping %}
{% for field in order.custom_fields.shipping %}
**{{ field.label }}**
{{ field.value }}
{% endfor %}
{% endif %}
{% if order.gateway %}
**{{ 'pixel.shop::lang.fields.gateway'|trans }}**
{{ ('pixel.shop::lang.fields.' ~ order.gateway)|trans }}
{% endif %}
{% if order.note %}
**{{ 'pixel.shop::lang.fields.note'|trans }}**
{{ order.note }}
{% endif %}