{% extends 'base.html.twig' %} {% block body %}

Commande confirmee !

Reference : {{ order.reference }}

{% if order.paymentMethod.value == 'stripe' %} Votre paiement a ete enregistre. Vous recevrez un email de confirmation a {{ order.customerEmail }}. {% else %} Votre commande a ete enregistree. Un email de confirmation a ete envoye a {{ order.customerEmail }}.
Nous vous contacterons pour finaliser le paiement. {% endif %}

Recapitulatif

{% for item in order.items %}
{{ item.title }} {% if item.variant %}({{ item.variant }}){% endif %} x{{ item.qty }} {{ item.lineTotalTTC|number_format(2, ',', ' ') }} €
{% endfor %}
Total TTC {{ order.totalTTC|number_format(2, ',', ' ') }} €
{% endblock %}