Skip to main content
— Setup walkthrough

Add a Downloads button to Shopify's order confirmation

Alva Digital Downloads gives you a short block of code to paste into Shopify's own Order confirmation email. It adds a View your downloads button that opens the customer's Order status page, where Alva's Order status page extension shows a download button. It's optional and needs new customer accounts.

How the order confirmation button works

Shopify sends the Order confirmation email itself, not Alva Digital Downloads. The code you copy from Alva's Download delivery page adds a short block to that email: a heading, a line of text and a View your downloads button. The button's only link is Shopify's own Order status page link for the order, {{ order_status_url }}. The code contains no Alva link and no download key.

The button opens the customer's Order status page. There, Alva's Order status page extension adds a download button, and the customer gets their files from it. The order confirmation button is optional and comes in addition to Alva's own download email. Because Shopify sends the order confirmation, the button goes out even when Alva's download emails are switched off.

Before you start

The button in the email leads to a download only when all three of these are in place:

  • New customer accounts. The download button on the Order status page is a customer account extension, and those work only with new customer accounts. With legacy (classic) customer accounts the button in the email can't lead to a download, so the Shopify order confirmation email section shows Needs new customer accounts instead of the code. You can upgrade in Shopify under Settings → Customer accounts.
  • The Order status page extension. Add Alva's Order status page extension in Shopify's checkout and accounts editor and publish it. Without it, customers who tap the button won't find their files on the Order status page. On the Download delivery page, the Order status page row shows Added once the extension is published; an extension added to a draft shows as Not added until you publish it. Open checkout and accounts editor takes you to the editor.
  • A confirmed sender email address in Shopify. If Shopify asks you to confirm your sender email address, do that first. Shopify doesn't let you edit email notifications until it's confirmed.

Add the button to your order confirmation

1. Open the Download delivery page

In the Alva admin, click Settings. On the Download Extensions tab, click View download delivery. The Download delivery page lists every place your customers get their files. The Shopify order confirmation email section comes right after Download emails.

2. Choose when the button shows

Under Show the button, choose one of the two options:

  • Only on orders that include a digital product (the default). The button shows only when the order includes a product you deliver with Alva Digital Downloads.
  • On every order. The button shows in every order confirmation, including orders with no digital product.

3. Choose the button language

Button language sets the language of the heading, the line of text and the button in the code. Choose the language your order confirmation is written in. If your store sells in more than one language, see Stores that sell in more than one language.

4. Copy the code

Click Copy code. The whole code is also shown in Code for your order confirmation, so if copying doesn't work, select it there and copy it yourself.

5. Paste the code into Shopify's Order confirmation

Open notification settings takes you to Shopify's notification settings. Then:

  1. In Shopify, go to Settings → Notifications → Customer notifications → Order confirmation, then click Edit code.
  2. In Email body (HTML), paste the code where you want the button to appear, for example after the order summary.
  3. Click Save.

6. Tick the box in Alva

Back on the Download delivery page, tick I added this code to my order confirmation. Alva can't read your Shopify email templates, so this tick is how the page records that the button is in place. The section then shows Confirmed.

What your customer sees

In the order confirmation, the block shows the heading Your downloads, a line of text and the View your downloads button, in the language you chose. The button uses the accent colour of your Shopify email templates. The line of text depends on whether the order is paid when Shopify sends the email:

  • Paid orders. The line reads Find your downloads on your order page.
  • Orders that aren't paid yet, for example with a manual payment method. The line reads Your downloads will be on your order page once your payment is confirmed.

When the customer taps View your downloads, their Order status page opens. When they tap the download button there, Shopify asks them to log in with a one-time code before their files show.

The download button on the Order status page appears once the order is paid and processed. A customer who opens the email within a minute of ordering may need to refresh the page.

After two to three weeks (sooner on another device or browser), the button in an older email opens a page where the customer has to log in before the download button shows.

Test the button

Shopify's Preview and Send test email use sample data, so the button may not show there when it's set to show only on orders with a digital product. To see it, place a test order through your store's checkout with an email address you can read, for example with a 100% off discount code (Method 1 in Test an end-to-end delivery without a real customer order).

Alva's Send test order button can't show the button: Shopify doesn't send its order confirmation email for those test orders.

Stores that sell in more than one language

Shopify sends the order confirmation in the language the customer ordered in when a translation exists. To add the button to each translation, go to Settings → Notifications → Customer notifications → Order confirmation → Localize. If Shopify shows the email body there, choose that language under Button language in Alva, copy the code and paste it into that translation.

Limitations

  • New customer accounts only. Legacy customer accounts can't show the download button on the Order status page.
  • A login before downloading. Customers log in with a one-time code before their files show on the Order status page.
  • Hidden sign-in links. If your store hides sign-in links in Shopify's customer accounts settings, customers can't sign in, and they need to sign in to get their files from the Order status page. The Order status page row on the Download delivery page warns you when sign-in links are hidden.
  • Not checked automatically. Alva can't see your Shopify email templates, so it can't tell whether the code is in place. Your tick on the Download delivery page is the only record.

Frequently asked questions

Does the button replace Alva's download email?

No. It's optional and comes in addition to Alva's own download email. Shopify sends the order confirmation itself, so the button goes out even when Alva's download emails are switched off.

Why doesn't the button show in Shopify's preview?

Preview and Send test email use sample data, so the button may not show there when it's set to show only on orders with a digital product. Place a test order through your store's checkout to see it.

Why does my customer have to log in?

The download button on the Order status page is a customer account extension. When a customer taps it, Shopify asks them to log in with a one-time code before their files show.

Does it work with legacy customer accounts?

No. The download button on the Order status page needs new customer accounts, so with legacy accounts Alva shows Needs new customer accounts instead of the code. You can upgrade in Shopify under Settings → Customer accounts.

My customer tapped the button but sees no download button. Why?

The download button appears once the order is paid and processed, so a customer who opens the email within a minute of ordering may need to refresh the page. With an older email, the customer may have to log in first. Also check that the Order status page extension is added and published.

What does the code link to?

Only Shopify's own Order status page link for the order. The code contains no Alva link and no download key.

See also

Was this helpful?

Still stuck? Email us.

Last updated 2026-11-10