Adding file download links to your order notification emails
Here's how to add links to the files your customer uploaded to your 'new order notification' emails:
Text-only emails
- From your Shopify admin, go to Settings > Notifications.
- Click the name of the notification template that you want to add line item properties to.
- Find the following code (making sure it's in the order item listing, not your subtotal/tax/shipping rows):
{{line.title}}
Replace it with:
{{line.title}}{% for p in line.properties %} {% unless p.last == blank -%} {{p.first}}: {{p.last}} {% endunless %}{% endfor %}
- Click Save.
HTML emails
- From your Shopify admin, go to Settings > Notifications.
- Click the name of the notification template that you want to add line item properties to.
- Find the following code (making sure it's in the order item listing, not your subtotal/tax/shipping rows):
{{line.title}}<br>
Replace it with:
{{line.title}}<br> {% for p in line.properties %} {% unless p.last == blank -%} <br /> {% if p.last contains "https" %}<a href="{{p.last}}">{{p.first}}</a>{% else %}{{p.first}}: {{p.last}}{% endif %} {% endunless %} {% endfor %}
- Click Save.
Repeat these steps for any other email notifications that you want to include line item properties.