> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://ms-app.crisp.help/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Add a PDF download link to Shopify emails (Send via Shopify)

Add a link to your Shopify notification emails, so customers can download their PDF invoice.
1. In the app, go to the **Email** page.
![](https://storage.crisp.chat/users/helpdesk/website/-/1/9/7/a/197a4c7e5f5cb500/image_zba4vd.png)
2. Open the **Send via Shopify** tab.
3. Review and change the settings:
   * **Document type**: choose the PDF customers will download (invoice, packing slip, refund or draft).
   * **PDF paper size**: for example Letter, Landscape, A4 or A5.
   * **Link text**: the words customers click to download the PDF.
   * **Email to send document link**: the Shopify email that will contain the link, for example Order confirmation.
4. Check the **Preview** to see what your customer will receive.
5. Click **Copy**, then click **Go to Paste code**. The app takes you straight to the email notification settings in your Shopify admin.
![](https://storage.crisp.chat/users/helpdesk/website/-/1/9/7/a/197a4c7e5f5cb500/image_130iwx3.png)
6. Click **Edit code**.
7. Paste the code **after** this part of the email template (usually around lines 53 to 60, it may be different a bit if you customized your email code template before):

   ```
   <p>You’ll receive separate emails for any gift cards.</p>
   {% endif %}
   ```
8. Click **Save**.
Your PDF link now appears in the Shopify email. Please check **Preview** to make sure it displays as expected!