Created
March 7, 2023 11:53
-
-
Save cargix1/99dbf57b3f24705455f939753b1fd4b5 to your computer and use it in GitHub Desktop.
New Order Template (Français)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p>Bonjour {{ shop_name }},</p> | |
<p></p> | |
<p>{% if customer.name %}{{ customer.name }}{% else %}Quelqu'un{% endif %} a passé une nouvelle commande avec vous aujourd'hui, {{ date | date: "%b %d %I:%M%p" }}:</p> | |
<p></p> | |
<ul style="list-style-type:none">{% for line in line_items %}<li> <img src="{{ line | img_url: 'thumb' }}" /> {{ line.quantity }}x {{line.title }} (sku: {{ line.sku }})<br>{% for p in line.properties %}{% if p.first == "builder_id" or p.first == "builder_info" or p.first == "master_builder" or p.last == "" or p.first == "_ZapietId" %}{% else %}{{ p.first }}: {% if p.last contains '/uploads/' %}<a class="lightbox" href="{{ p.last }}">{{ p.last | split: '/' | last }}</a><br>{% else %}{{ p.last }}<br>{% endif %}{% endif %}{% endfor %}</li>{% endfor %}</ul> | |
<a href="{{ shop.url }}/admin/orders/{{ id }}">Voir la commande {{order_name}} </a> | |
{% if fulfillment_aborted %} | |
<p>La commande ci-dessus n'a pas été exécutée automatiquement car elle a été signalée comme suspecte.</p>{% endif %} | |
<p></p><br> | |
{% if has_high_risks? %}<p><b>Vérification de sécurité:</b></p> | |
<p>Cette commande présente un risque d'être frauduleuse. Vérifiez la commande dans l'administration de votre boutique et contactez le client pour vérifier ses informations.</p> | |
<p></p>{% endif %} | |
<p><b>Mode de paiement:</b></p> | |
<p>{{ gateway }}</p> | |
<p></p> | |
{% unless attributes.Checkout-Method == "pickup" %} | |
{% if requires_shipping and shipping_address %} | |
<p><b>Méthode de livraison:</b></p> | |
{% for shipping_method in shipping_methods %}<p>{{ shipping_method.title }}</p>{% endfor %} | |
<p></p> | |
<p><b>{% if attributes.Checkout-Method == "delivery" %}Adresse de livraison{% else %}Adresse d'expédition{% endif %}</b></p> | |
<p>{{ shipping_address.name }}</p> | |
{% if shipping_address.company %} | |
<p>{{ shipping_address.company }}</p> | |
{% endif %} | |
<p>{{ shipping_address.street }}</p> | |
<p>{{ shipping_address.city }}, {{ shipping_address.province }} {{ shipping_address.zip }}</p> | |
<p>{{ shipping_address.country }}</p> | |
<p>{{ shipping_address.phone }}</p> | |
{% if attributes.Shipping-Date %} | |
<p>Date d'expédition:{{ attributes.Shipping-Date | date: "%A, %-d %B %Y" }}</p> | |
{% endif %} | |
{% if attributes.Delivery-Date %} | |
<p>Date de livraison: {{ attributes.Delivery-Date | date: "%A, %-d %B %Y" }}</p> | |
{% endif %} | |
{% if attributes.Delivery-Time %} | |
<p>Heure de livraison: {{ attributes.Delivery-Time }}</p> | |
{% endif %} | |
{% endif %} | |
{% endunless %} | |
{% if attributes.Checkout-Method == "pickup" %} | |
<p><b>Adresse de ramassage</b></p> | |
{% if attributes.Pickup-Location-Company %} | |
<p>{{ attributes.Pickup-Location-Company }}</p> | |
{% endif %} | |
<p>{{ attributes.Pickup-Location-Address-Line-1 }}</p> | |
{% if attributes.Pickup-Location-Address-Line-2 %} | |
<p>{{ attributes.Pickup-Location-Address-Line-2 }}</p> | |
{% endif %} | |
<p>{{ attributes.Pickup-Location-City }}</p> | |
<p>{{ attributes.Pickup-Location-Region }}</p> | |
<p>{{ attributes.Pickup-Location-Postal-Code }}</p> | |
<p>{{ attributes.Pickup-Location-Country }}</p> | |
{% if attributes.Pickup-Date %} | |
<p>Date de ramassage: {{ attributes.Pickup-Date | date: "%A, %-d %B %Y" }}</p> | |
{% endif %} | |
{% if attributes.Pickup-Time %} | |
<p>Heure de ramassage: {{ attributes.Pickup-Time | date: "%R" }}</p> | |
{% endif %} | |
{% endif %} | |
<p></p> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment