Skip to content

Instantly share code, notes, and snippets.

@tobymarsden
Last active October 16, 2019 20:35
Show Gist options
  • Save tobymarsden/ef9ddc2e2213a8ceaf650f33240ab1f9 to your computer and use it in GitHub Desktop.
Save tobymarsden/ef9ddc2e2213a8ceaf650f33240ab1f9 to your computer and use it in GitHub Desktop.
Direct link in order printer template
{% for p in line_item.properties %}
{% if p.first contains 'direct link' %}
<img src="{{p.last}}" style="width: 5cm;" />
<br>
{% endif %}
{% endfor %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment