Display file upload details in shipping confirmation emails

Follow the steps below to display file upload details in shipping confirmation emails.

1. Starting from your Shopify admin dashboard, navigate to the Settings menu link, then click on Notifications.

2. Click on the link for the Shipping Confirmation email.

3. Locate the following line of code.

{% if line.line_item.variant.title != 'Default Title' %}

4. Copy and paste the following snippet after the section of code.

{% for p in line.line_item.properties %}
  {% if p.first contains '_io_' %}
    {% continue %}
  {% endif %}
  {% if p.last %}
    {% assign name = p.first %}
    {% assign value = p.last %}
  {% else %}
    {% assign name = p.name %}
    {% assign value = p.value %}
  {% endif %}
  {% unless value == blank %}
    <p style='margin-top: 0px; margin-bottom: 0px; font-size: 14px; color: #999;'>
      {{ name }}:
    {% if p.last contains '//uploadery.s3' %}
      <a style='font-size: 14px;' href="{{ value }}">Link to your file</a>
    {% else %}
      {{ value }}
    {% endif %}
    </p>
  {% endunless %}
{% endfor %}

5. Save your changes.