Advertisement
Guest User

Untitled

a guest
Oct 10th, 2015
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.04 KB | None | 0 0
  1. <p>Thank you for placing your order with {{ shop_name }}!</p>
  2. <p>This email is to confirm your recent order.</p>
  3. <p>Date {{ date | date: "%m/%d/%Y" }}</p>
  4. {% if requires_shipping and shipping_address %}
  5. <p><b>{% if attributes.Store-Pickup-Order == "Yes" %}Pickup location{% else %}Shipping address{% endif %}</b><br />
  6. {% if attributes.Store-Pickup-Order == "Yes" %}{{ shipping_address.company }}{% else %}{{ shipping_address.name }}{% endif %}<br />
  7. {{ shipping_address.street }}<br />
  8. {{ shipping_address.city }}<br />
  9. {{ shipping_address.province }}
  10. {{ shipping_address.zip }}<br />
  11. {{ shipping_address.country }}
  12. {% if attributes.Store-Pickup-Date %}
  13. <br />Pickup Date: {{ attributes.Store-Pickup-Date }}<br />
  14. {% endif %}
  15. {% if attributes.Store-Pickup-Time %}
  16. Pickup Time: {{ attributes.Store-Pickup-Time }}<br />
  17. {% endif %}
  18. {% if attributes.Local-Delivery-Date %}
  19. <br />Local Delivery Date: {{ attributes.Local-Delivery-Date }}<br />
  20. {% endif %}
  21. {% if attributes.Local-Delivery-Time %}
  22. Local Delivery Time: {{ attributes.Local-Delivery-Time }}<br />
  23. {% endif %}
  24. </p>
  25. {% endif %}
  26. {% if billing_address %}
  27. <p><b>Billing address</b><br />
  28. {{ billing_address.name }}<br />
  29. {{ billing_address.street }}<br />
  30. {{ billing_address.city }}<br />
  31. {{ billing_address.province }}
  32. {{ billing_address.zip }}<br />
  33. {{ billing_address.country }}</p>
  34. {% endif %}
  35. <ul style="list-style-type:none"> {% for line in line_items %} <li> <img src="{{ line | img_url: 'small' }}" /> {{ line.quantity }}x {{ line.title }} for {{ line.price | money }} each {% for discount in line.applied_discounts %} ( -{{ discount.amount | money }} ){% endfor %}</li> {% endfor %}
  36. </ul>
  37. {% if discounts %}
  38. <p>Discounts : {{ discounts_savings | money_with_currency }}</p> {% endif %}
  39. <p>Subtotal : {{ subtotal_price | money_with_currency }}</p>
  40. {% for tax_line in tax_lines %} <p>{{ tax_line.title }} : {{ tax_line.price | money_with_currency }} </p>
  41. {% endfor %} {% if requires_shipping %}
  42. <p>Shipping : {{ shipping_price | money_with_currency }}</p>
  43. {% endif %} <p>Total : {{ total_price | money_with_currency }}</p>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement