Add downloads to Shopify's Order Confirmation email
Learn how to add a direct link to the download page from the Shopify Order Confirmation email.
Go to your Shopify Settings page
Click on Notifications
Click on Order confirmation
Click the Edit code button
Copy the Fileflare code from the code box on the Fileflare page.
At the time of writing this, the neatest place to add the button is on line 159, between the {% endif %} and the {% if order_status_url %} tags. Shopify changes things often, so it could have moved by this point. Follow the image example below.
All you need to do is remove the endif tags.
Remove these from the code snippet:
{%- if line_items | where: "requires_shipping", false | size > 0 -%}
{%- endif -%}
You will need to place the code for each language and then manually write the button text for that language.
If you are using the Shopify Translate & Adapt app, you will see a dropdown on the Shopify email editor page allowing you to change the language to your supported languages, as shown below:
Where to place the code
Go to your Shopify Settings page
Click on Notifications
Click on Order confirmation
Click the Edit code button
Copy the Fileflare code from the code box on the Fileflare page.
At the time of writing this, the neatest place to add the button is on line 159, between the {% endif %} and the {% if order_status_url %} tags. Shopify changes things often, so it could have moved by this point. Follow the image example below.
Show the download button for physical products
All you need to do is remove the endif tags.
Remove these from the code snippet:
{%- if line_items | where: "requires_shipping", false | size > 0 -%}
{%- endif -%}
Support for different languages
You will need to place the code for each language and then manually write the button text for that language.
If you are using the Shopify Translate & Adapt app, you will see a dropdown on the Shopify email editor page allowing you to change the language to your supported languages, as shown below:
Updated on: 09/01/2025
Thank you!