Created
October 13, 2015 20:58
-
-
Save cargix1/8b355458278b0a948646 to your computer and use it in GitHub Desktop.
Default New Order Notification
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>Hello {{ shop_name }},</p> | |
<p></p> | |
<p>{% if customer.name %}{{ customer.name }}{% else %}Someone{% endif %} placed a new order with your store, {{ date | date: "%b %d %I:%M%p" }}:</p> | |
<p></p> | |
<ul> {% for line in line_items %} <li> <img src="{{ line | img_url: 'thumb' }}" /> {{ line.quantity }}x {{ line.title }} for {{ line.price | money }} each </li> {% endfor %} </ul> | |
<a href="https://{{ shop.permanent_domain }}/admin/orders/{{ id }}">View order {{order_name}} </a> | |
{% if fulfillment_aborted %} | |
<p>The above order was not automatically fulfilled because it was flagged as suspicious.</p>{% endif %} | |
<p></p><br> | |
{% if has_high_risks? %}<p><b>Security check:</b></p> | |
<p>This order has a risk of being fraudulent. Review the order in your store's admin and contact the customer to verify their information.</p> | |
<p></p>{% endif %} | |
<p><b>Payment processing method:</b></p> | |
<p>{{ gateway }}</p> | |
<p></p> | |
{% if requires_shipping and shipping_address %} | |
<p><b>Delivery method:</b></p> | |
{% for shipping_method in shipping_methods %}<p>{{ shipping_method.title }}</p>{% endfor %} | |
<p></p> | |
<p><b>{% if attributes.Store-Pickup-Order == "Yes" %}Pickup location:{% else %}Shipping address:{% endif %}</b></p> | |
<p>{% if attributes.Store-Pickup-Order == "Yes" %}{{ shipping_address.company }}{% else %}{{ shipping_address.name }}{% endif %}</p> | |
<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.Store-Pickup-Date %} | |
<p>Pickup Date: {{ attributes.Store-Pickup-Date }}</p> | |
{% endif %} | |
{% if attributes.Store-Pickup-Time %} | |
<p>Pickup Time: {{ attributes.Store-Pickup-Time }}</p> | |
{% endif %} | |
{% if attributes.Local-Delivery-Date %} | |
<p>Local Delivery Date: {{ attributes.Local-Delivery-Date }}</p> | |
{% endif %} | |
{% if attributes.Local-Delivery-Time %} | |
<p>Local Delivery Time: {{ attributes.Local-Delivery-Time }}</p> | |
{% endif %} | |
{% endif %} | |
<p></p> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment