Skip to content

Instantly share code, notes, and snippets.

@shopifypartners
Last active August 8, 2021 01:19
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save shopifypartners/5381c675eaef48db5a21b3098440520b to your computer and use it in GitHub Desktop.
Snippet of abandoned checkout notification, informing customers of discount - https://www.shopify.com/partners/blog/shopify-email-notifications
{% capture email_title %} Your shopping cart is waiting for you {% endcapture %}
{% capture email_body %}
{% if billing_address.first_name %}Hi {{ billing_address.first_name }}, w{% else %}
W{% endif %}e noticed there {% if item_count == 1 %}was an item{% else %}were some items{% endif %} left in your shopping cart.
If you're ready to complete your order, your cart is waiting for your return, and you can even have a 15% discount on us.
{% endcapture %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment