Display file upload details in order confirmation emails

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

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

2. Click on the link for the Order confirmation email.

3. Locate the following line of code.

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

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

{% for p in line.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. Click the Save button at the top of the page.