Order confirmation email

If you want to show the uploaded files on the order confirmation email, follow the steps below.

The app saves the uploaded files as links on the order line item properties.  
You can edit your order confirmation email tempalte to show the uploaded files. 

Template

In the Shopify Admin, click on settings in the bottom left corner:

Select "Notifications": 

Select "Order confirmation":

Line items

Inside the template, look for the following line item code:

All of the following examples have to be added after this line:

{% for line in subtotal_line_items %}

Link to Download

To show a download link of the uploaded file you can use the following code:

{% if line.properties['upload'] %}
     <span class="order-list__item-variant"><a href="{{ line.properties['upload'] }}" target="_blank">Download</a></span><br/>
{% endif %}

Make sure to replace the "upload" property name with the field name you've configured in the app:

Thumbnail image

If you have enabled the thumbnail image as described in:  Display thumbnail image in cart

Then you can show the uploaded image thumbnail using the following code:

{% if line.properties['thumbnail'] %}
      <span class="order-list__item-variant"><img src="{{ line.properties['thumbnail'] }}" width="100" /></span><br/>
{% endif %}

Product image

If you want to replace the product image with the uploaded image, you can use the following code:

{% if line.properties['thumbnail'] %}
      <img src="{{ line.properties['thumbnail'] }}" align="left" width="60" height="60" class="order-list__product-image">
{% elsif line.image %}
      <img src="{{ line | img_url: 'compact_cropped' }}" align="left" width="60" height="60" class="order-list__product-image"/>
{% endif %}

Full template example

You can download the full tempalte with all the modifications:  order-confirmation.liquid

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.