How to Add the Print File Link to Your Order Confirmation Email
Adding the print-ready file to your order confirmation email allows your customers to review their final design immediately after placing an order. This builds trust and ensures transparency.
Step-by-Step Instructions
- Log in to your Shopify Admin dashboard.
- Go to Settings (bottom left corner) and select Notifications.
- Under the Orders section, click on Order confirmation.
- Click the Edit code button in the top right corner.

- In the HTML editor, press
Ctrl + F(orCmd + Fon Mac) and search for the following code line:
<span class="order-list__item-title">{{ line_title }} × {{ line_display }}</span><br/>Important: In the latest Shopify order confirmation template, this line appears 4 times, once for each way Shopify renders line items (split-cart orders, per-delivery-method items, bundle components, and standard orders). You need to paste the snippet below every occurrence, otherwise the link will only show up for some order types.
For each match found, check which loop variable the surrounding code uses, then paste the matching snippet directly below that line**. **
If the surrounding code uses line (e.g. you see line.variant.title a few lines below — this is the case for 3 of the 4 occurrences):
liquid
{% if line.properties['_cm-print-file-1'] %}
<span class="order-list__item-title">
<a href="{{ line.properties['_cm-print-file-1'] }}" target="_blank">Production file</a>
</span>
{% endif %}
If the surrounding code uses** component** (e.g. you see component.variant.title a few lines below — this is the occurrence inside the {% for component in line_item_group.components %} loop):
liquid
{% if component.properties['_cm-print-file-1'] %}
<span class="order-list__item-title">
<a href="{{ component.properties['_cm-print-file-1'] }}" target="_blank">Production file</a>
</span>
{% endif %}
- Click Save to apply the changes.
Digital Product Version
If you want to include the link only when the product or variant is marked as a Digital product, use the below versions instead (same rule applies, paste the right variant below each of the 4 occurrences):
For occurrences using** line:**
liquid
{% if line.requires_shipping == false or line.product_type == 'digital' %}
{% if line.properties['_cm-print-file-1'] %}
<span class="order-list__item-title">
<a href="{{ line.properties['_cm-print-file-1'] }}" target="_blank">Production file</a>
</span>
{% endif %}
{% endif %}
For occurrences using** component:**
liquid
{% if component.requires_shipping == false or component.product_type == 'digital' %}
{% if component.properties['_cm-print-file-1'] %}
<span class="order-list__item-title">
<a href="{{ component.properties['_cm-print-file-1'] }}" target="_blank">Production file</a>
</span>
{% endif %}
{% endif %}
After saving, you can verify the setup:
- Search the template again for
_cm-print-file-1you should find the snippet in 4 places. - Use Preview in the notification editor, or place a test order with a customized product, and confirm the Production file link appears under the product title in the email.
Updated on: 12/06/2026
Thank you!