{# /** * @file * Template for the shipment confirmation. * * Available variables: * - order_entity: The order entity. * - shipment_entity: The shipment entity. * - shipping_profile: The profile associated with a shipment. * - tracking_code: The tracking code associated with the shipment. * * @ingroup themeable */ #} {% set shipmentItemCount = shipment_entity.getItems|length %}
{{ order_entity.getStore.label }}
{% if (tracking_code) %} {% block tracking_info %} {% endblock %} {% endif %}
{% trans %} An item in your order #{{ order_entity.getOrderNumber }} has shipped! {% plural shipmentItemCount %} Items in your order #{{ order_entity.getOrderNumber }} have shipped! {% endtrans %}
{{ 'Shipped to:'|t }}
{% block shipping_profile %} {{ shipping_profile }} {% endblock %}
{% block shipment_items %} {% for shipment_item in shipment_entity.getItems() %} {% endfor %}
{% trans %} Item in shipment {% plural shipmentItemCount %} Items in shipment {% endtrans %}
{{ shipment_item.quantity|number_format }} x {{ shipment_item.title }}
{% endblock %}
{{ 'Tracking information:'|t }}
{{ tracking_code }}
{{ 'Thank you for your order!'|t }}