Last updated on 20 January 2023
The Downloadable Digital Assets app allows your customers to download their assets directly from their customer accounts. This is fully automatic and implements the downloads into the order page directly after purchase.
Enabling this setting will allow customers (who have an account) to download files from the order history page. Some custom or paid themes may need code added manually.
The great thing about it is that the links are dynamically updated. Once you make a change to the name of a file or anything, the change will automatically change in the customer account, so they have the latest information.
You can also get access to the API for customer accounts if you are using our API.
Step 1 – Enable the customer account setting
You will need the Professional plan to use the customer account download links feature.
- Go to the ‘Settings‘ page
- Scroll down to the ‘Checkout settings‘ box
- Enable the setting in the red box below
Some paid or custom themes may need code added manually. This is because not every theme is built the same way. Scroll down for more information.
Step 2 – Place the code in your theme file
You have two methods to show the downloads in accounts. You can either:
- Use a customer account app and enable our integration
- Use your regular customer accounts and place a short snippet of code in your theme file
Method 1 – Using the CustomerHub app
We have created an integration with CustomerHub which allows you to show your digital downloads inside your customer accounts super easily. All you need to do is use their Shopify app and enable our integration.
Method 2 – Using the regular customer accounts in Shopify
You will need to manually place the code snippet to your theme file for the download links to appear in the customer accounts. They will not appear if this step isn’t followed.
1. Go to the theme files
Go to your Shopify dashboard > Online Store > Themes > Actions (the three dots) > Edit Code
2. Open “Customers/order.liquid” or “main-order.liquid”
Search for the Customers/order.liquid file and open it. It may show under a different name on some themes.
If you can’t find it under this name, you will need to find the file that is the template for your customers’ order pages.
For example, if you are using Craft Shopify theme, the customer’s order liquid file is called “main-order.liquid“.
Please note: if you are using the Brave browser, please enable downloads to allow the clicking of download links. Brave defaults to not allow downloads by clicking links.
Third-party and older themes use customers/order.liquid
Many new Shopify themes use main-order.liquid
3. Place the code in your chosen location (please contact us if you need help)
You will now want to place the below code anywhere you desire the download links to appear on the customer order page.
If you’re using a test account, make sure you have attached assets to the product that was ordered so the downloads appear in the account.
Copy and paste this code and click ‘Save‘.
Note: You can move this code to different parts of your .liquid file to play with the placement and the location where the downloads will appear. Log into a test account to see the placement.
Try to place the code between the </div> tags, as shown in the image below. This will place the download box in different sections depending on which </div> tag you place it between.
Important – the downloads will only show if the order has digital products. Please make sure the product that was ordered has digital files attached to it.
The download box will use the styling of your CSS (your store’s styling).
The downloads are still not showing. What do I do?
You will need to double-check you have a few things in place before the downloads show:
- Make sure there are files attached to the Shopify products in the order. If there are no files attached, then no download links will show on the order page.
- Make sure you have enabled the customer account feature in Settings > Checkout settings.
- Make sure you have placed the snippet code correctly.
Here’s an example of what it looks like in a store. The download box will use the same fonts and styling as your own theme, so it will fit nicely.
If you want to learn how to customise the box’s text, you can see our box styling guide here.
The box takes the styling of your store’s CSS, so it automatically styles to your brand.
If the box appears to be unusual, that is usually caused by a conflict in your theme’s CSS files, and it may be best to get your developer to take a look.
Note: we have a roadmap where you can vote for features you want to see. Customer account styling is one of them. Go vote it up if you want it! Go to Settings > Roadmap in the app.
Troubleshooting download issues
If your customers have any download issues, it’s usually caused by issues on your customer’s computers. You can send them this download issue troubleshooting guide.
Usually, it’s as simple as just restarting the browser, sometimes people tend to leave browsers open for weeks, and it needs a memory reset.
Make sure you test this feature to make sure the download box is appearing as it should. The box will use the same styling that your theme has, so there’s no need to worry if the box appears differently.