How to add the app blocks in the theme editor
Put the Purchased Digital Content, My Digital Order List and Free or demo content blocks on your theme from the theme editor.
Show the app's content on your storefront: LDT Digital Downloads ships three theme blocks you add to a section in the theme editor like any other block.
1. Open the theme editor
In your Shopify admin go to Online Store → Themes and click Customize on the theme you are using.

2. Add the Purchased Digital Content block
On a product template, click Add block inside the section you want the button in, open Apps and pick Purchased Digital Content. It renders a button that takes a logged-in buyer to the files they bought.
Its settings are:
Label — the button text, Access Digital Content by default.
Alignment — left, center or right.
Custom HTML Classes — the button classes, btn button button--primary by default.
Message — an optional rich-text note under the button, with its own alignment and classes.
3. Add the My Digital Order List block
My Digital Order List has no template restriction, so you can drop it into any page or section. It lists the orders that contain digital files for the signed-in customer.
Only visible to customers with purchased digital downloads — hide the whole list from everyone else.
Table HTML Classes — the classes on the table, table by default.
A common setup is a page called "My downloads" with this block in it, linked from your menu.
4. Add the Free or demo content block
On a product template add Free or demo content. It shows the files you marked as demo content on that product, to any visitor — see How to offer free preview content (add the link after merging).
It has the most settings of the three: Heading (Sample content by default), Heading size, Description, Text when there is nothing free, Layout and Columns, Show folder names as group headings, Folders start collapsed, Items before "show all", the "Show all" button label, Show file size, Show file type icons, Open video and documents, and the colour, radius, spacing and padding controls.
5. Save
Click Save in the theme editor. The blocks appear on the storefront straight away.
Result
Buyers see their files on the product page and in a list of their own, and visitors see whatever you published as demo content.
Troubleshooting
The block is not in the Add block list. App blocks are added inside a section, not at the top level of the template — click Add block within a section first.
The Purchased Digital Content button does not show. It only appears for a signed-in customer who bought that product, and only on product templates.
The Free or demo content block is empty. Nothing is published as demo content for that product yet.
Related
How to offer free preview content — in Navigation (add the link after merging)