{#
/**
* @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 %}
{% 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 %}
{% trans %}
Item in shipment
{% plural shipmentItemCount %}
Items in shipment
{% endtrans %}
|
{% for shipment_item in shipment_entity.getItems() %}
{{ shipment_item.quantity|number_format }} x
|
{{ shipment_item.title }}
|
{% endfor %}
{% endblock %}
|
{% if (tracking_code) %}
{% block tracking_info %}
{{ 'Tracking information:'|t }}
|
{{ tracking_code }}
|
{{ 'Thank you for your order!'|t }}
|
{% endblock %}
{% endif %}
|