Skip to content

Instantly share code, notes, and snippets.

@jchew
Created November 10, 2022 17:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jchew/0ecc78b099004e56bac0e9597c0f8084 to your computer and use it in GitHub Desktop.
Save jchew/0ecc78b099004e56bac0e9597c0f8084 to your computer and use it in GitHub Desktop.
Magical Custom Fields : Email Notifications
{% unless line.properties == empty %}
{%- for prop in line.properties -%}
<p>
<span>{{ prop.first }}: </span>
<span> {{ prop.last }} </span>
</p>
{%- endfor -%}
{% endunless %}
@jchew
Copy link
Author

jchew commented Nov 10, 2022

Insert in between:

{% for line in subtotal_line_items %}

{% endfor %}

in Shopify email templates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment