Nouvelle commande !

{{ site.name }}

Une nouvelle commande vient d'être passée sur votre boutique.

Commande #{{ order.orderNumber }}

Date : {{ order.createdAt|date('d/m/Y à H:i') }}

Statut : {% if order.isPaid %} Payée {% else %} En attente {% endif %}

Mode de paiement : {{ order.paymentMethodName }}

Client

Nom : {{ order.customerFullName }}

Email : {{ order.customerEmail }}

{% if order.customerPhone %}

Téléphone : {{ order.customerPhone }}

{% endif %}

Produits commandés

{% for item in order.items %} {% endfor %}
Produit Qté P.U. Total
{{ item.productName }} {{ item.quantity }} {{ item.unitPrice|number_format(2, ',', ' ') }} € {{ (item.quantity * item.unitPrice)|number_format(2, ',', ' ') }} €
{% if order.shippingCost is not null and order.shippingCost > 0 %}

Frais de port : {{ order.shippingCost|number_format(2, ',', ' ') }} €

{% endif %} {% if order.vatAmount %}

dont TVA : {{ order.vatAmount|number_format(2, ',', ' ') }} €

{% endif %}
Total TTC : {{ order.totalAmount|number_format(2, ',', ' ') }} €
{% if order.shippingMethod or order.shippingAddress %}

Livraison

{% if order.shippingMethod %}

Mode : {{ order.shippingMethod.name }} {% if order.shippingMethod.carrier == 'mondial_relay' %} (Mondial Relay) {% elseif order.shippingMethod.carrier == 'colissimo' %} (Colissimo) {% endif %}

{% endif %} {% if order.shippingCost is not null %}

Frais de port : {% if order.shippingCost == 0 %} Offerts {% else %} {{ order.shippingCost|number_format(2, ',', ' ') }} € {% endif %}

{% endif %} {% if order.relayPointId and order.relayPointData %}

📍 Point relais :

{{ order.relayPointData.name|default('') }}

{{ order.relayPointData.address|default('') }}

{{ order.relayPointData.postalCode|default('') }} {{ order.relayPointData.city|default('') }}

{% endif %} {% if order.shippingAddress %}

Adresse de livraison :

{% if order.shippingAddress.address is defined %}

{{ order.shippingAddress.address }}

{% if order.shippingAddress.address2 is defined and order.shippingAddress.address2 %}

{{ order.shippingAddress.address2 }}

{% endif %}

{{ order.shippingAddress.postal_code }} {{ order.shippingAddress.city }}

{% if order.shippingAddress.country is defined and order.shippingAddress.country %}

{{ order.shippingAddress.country }}

{% endif %} {% endif %} {% endif %}
{% endif %}