{% extends 'base.html.twig' %} {% block title %}Commande confirmée - {{ order.orderNumber }}{% endblock %} {% block meta_description %}Votre commande {{ order.orderNumber }} a été confirmée avec succès.{% endblock %} {% block body %}
1. Livraison
2. Paiement
3. Confirmation
{% if order.status.value == 'PENDING_QUOTE' %}

Demande de devis envoyée !

Votre demande de devis a bien été transmise au vendeur. Vous recevrez une réponse sous 24-48h.

{% elseif order.status.value == 'PAID' %}

Commande confirmée !

Merci pour votre achat ! Votre paiement a été traité avec succès.

{% else %}

Commande enregistrée !

Votre commande a été enregistrée et est en cours de traitement.

{% endif %}
Commande n° {{ order.orderNumber }}
Prochaines étapes
{% if order.status.value == 'PENDING_QUOTE' %}
  • Le vendeur va préparer un devis de livraison personnalisé
  • Vous recevrez un email avec le devis sous 24-48h
  • Vous pourrez alors valider et payer la commande
{% else %}
  • Un email de confirmation vous a été envoyé
  • Le vendeur va préparer votre commande
  • Vous recevrez un email avec les informations de suivi
{% endif %}
Détails de la commande
Informations de commande

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

Statut : {% if order.status.value == 'PENDING_QUOTE' %} En attente de devis {% elseif order.status.value == 'PAID' %} Payée {% elseif order.status.value == 'PENDING_PAYMENT' %} En attente de paiement {% else %} {{ order.status.value }} {% endif %}

{% if order.buyerEmail %}

Email : {{ order.buyerEmail }}

{% endif %}
Vendeur

{{ order.seller.companyName|default(order.seller.firstName ~ ' ' ~ order.seller.lastName) }}

{% if order.seller.city %}

{{ order.seller.city }}

{% endif %} {% if order.seller.email %}

Contacter le vendeur

{% endif %}
Articles commandés
{% for orderItem in order.orderItems %}
{% if orderItem.itemImage %} {{ orderItem.itemTitle }} {% else %}
{% endif %}
{{ orderItem.itemTitle }}
{% if orderItem.itemDescription %}

{{ orderItem.itemDescription|slice(0, 100) }}{% if orderItem.itemDescription|length > 100 %}...{% endif %}

{% endif %}

Quantité : {{ orderItem.quantity }}

{{ orderItem.unitPrice|number_format(2, ',', ' ') }} €
{% if orderItem.quantity > 1 %}
{{ orderItem.quantity }} × {{ (orderItem.unitPrice)|number_format(2, ',', ' ') }} €
{% endif %}
{% endfor %}
Adresses
Adresse de livraison
{{ order.shippingFirstName }} {{ order.shippingLastName }}
{{ order.shippingAddress }}
{{ order.shippingZipCode }} {{ order.shippingCity }}
{{ order.shippingCountry }}
Adresse de facturation
{{ order.buyerFirstName|default(order.shippingFirstName) }} {{ order.buyerLastName|default(order.shippingLastName) }}
{% if order.buyerEmail %} {{ order.buyerEmail }}
{% endif %} {% if order.buyerPhone %} Tel: {{ order.buyerPhone }} {% endif %}
{% if order.notes %}
Notes de commande

{{ order.notes }}

{% endif %}
Récapitulatif financier
Sous-total articles {{ order.subtotalAmount|number_format(2, ',', ' ') }} €
{% if order.shippingAmount %}
Frais de livraison {{ order.shippingAmount|number_format(2, ',', ' ') }} €
{% else %}
Frais de livraison Devis en cours
{% endif %} {% if order.discountAmount and order.discountAmount > 0 %}
Remise -{{ order.discountAmount|number_format(2, ',', ' ') }} €
{% endif %}
Total {% if order.shippingAmount %} {{ order.totalAmount|number_format(2, ',', ' ') }} € {% else %} À définir {% endif %}
{% if order.status.value == 'PAID' and order.paymentMethod %}
Paiement effectué par {{ order.paymentMethod }}
{% endif %}
Actions
{% if app.user %} Mes commandes {% endif %} Retour à l'accueil Continuer mes achats {% if order.seller.email %} Contacter le vendeur {% endif %}
Informations utiles
Paiement sécurisé
Vos données sont protégées par cryptage SSL
Retour possible
Sous conditions, dans les 14 jours
Support client
Nous contacter
Email de confirmation
Vérifiez votre boîte mail et vos spams
{% endblock %} {% block javascripts %} {{ parent() }} {% endblock %}