You can insert a download link to the Shopify order notification email by following the simple steps below.
Step 1: Access Simple Invoice from the “Apps” section of your Shopify store.
Step 2: Navigate to the “Settings” section within Simple Invoice.
Step 3: Scroll down to the “Automated PDF Download Links” section. Next, select the desired document type. Click on the ‘Click to copy’ button, and then click on the ‘Shopify customer notification emails’ link to be redirected to the Shopify Notifications page.
Step 4: Click on the ‘Customer notifications’.
Step 5: Click on the ‘Order confirmation’.
Step 6: Paste the PDF Download Link Code before the last {% endif %} which is above the <!DOCTYPE html>.
You can also add HTML elements to give your link a better look. You can find an example code below.
<center>
<p><br>
{% assign hash = (order.id | default: id) | append: "12345" | append: (order.id | default: id) | md5 | append: "_cq3qt3wtwetw4tcxYjIYeyfjawYSHEASDLJHhwbjIw_" | append: (order.id | default: id) %}
<a target="_blank" href="https://yourMyShopifyURL.myshopify.com/apps/download?hash={{ hash }}&ids={{ id }}&template_type=invoice"> DOWNLOAD YOUR INVOICE </a>
</center>
Step 7: Please click on the “Save” button to confirm your changes.
After adding the PDF Download Link Code, you can preview the order confirmation page as shown below.
If the download link does not appear as expected, please contact us for any necessary adjustments.