Attempting to edit the Confirmation email to acommodate digital downloads

We have a music page selling CD’s, print-on-demand products, and digital downloads. I’d like the confirmation email for an order including a digito alert the customer to expect a separate email with their link(s) for digital downloads. I don’t know anything about HTML.

Hi @annapat

I totally get what you’re trying to do. Since you’re selling digital downloads along with physical products, you want to make sure customers know they’ll receive a separate email for their digital items. That makes sense because Shopify’s default order confirmation email doesn’t automatically include download links—it just confirms the purchase.

Solution: Editing Your Order Confirmation Email

Since you don’t have HTML experience, don’t worry—I’ll guide you through this in a simple way. Shopify allows you to customize email templates within the Notifications section.

**Steps to Edit Your Order Confirmation Email:**1. Go to Shopify Admin → Click Settings.

  1. Select Notifications.
  2. Scroll down to Order confirmation and click on it.
  3. You’ll see an HTML editor with the email template.

Now, you need to add a short message to inform customers about the separate email for digital downloads.

Code to Add:

Find this section in the code (use Ctrl + F to search for {{ order_status_url }} :disappointed_face:

You can track your order status here: {{ order_status_url }}

Right below it, add this line:

{% for line in order.line_items %}

{% if line.product.tags contains ‘Digital’ %}

Heads up: Since your order contains digital downloads, you’ll receive a separate email with your download link shortly.

{% break %}

{% endif %}

{% endfor %}

Explanation:- This code checks if the order contains a product tagged “Digital”.

  • If yes, it adds a message telling customers they’ll get a separate email for the digital files.
  • The {% break %} ensures the message only appears once, even if multiple digital items are purchased.

Important Notes:- Make sure your digital products have the tag “Digital” in your Shopify product settings. That’s how this code identifies digital items.

  • If you’re using an app like Shopify Digital Downloads, that app will automatically send a separate email with the download link.

That’s it! Once you save the changes, every customer who buys a digital product will see the note in their order confirmation email.

If you need extra help, just let me know asap. Thanks
Daisy.