Apps and the theme
How apps attach to the theme, the places that accept app blocks and the places that do not, and how to clean up after an app.
Before you install an app, check that the place you want it accepts one. Some places in the theme take app blocks, and some do not.
How apps attach
| Kind | What it is | Where you manage it |
|---|---|---|
| App block | A block you place inside a section, next to the theme's own blocks | Add block in a section that accepts them, under the Apps tab |
| App section | A whole section of its own, placed between other sections | Add section, under Apps |
| App embed | Code with no fixed place on the page, such as a chat button or a tracking script | The App embeds icon on the left of the theme editor |
Which kinds you get depends on the app. An app can offer only one of them, or limit a block to certain pages. Its listing or help pages should say.
Blocks, sections and embeds belong to one theme. If you switch themes, you place them again. See Move from another theme.
Where app blocks fit
These eight places accept app blocks:
| Place | Where to find it in the editor |
|---|---|
| Product info | Product information section, product pages |
| Below the gallery | Product information section, product pages |
| Tab | Inside a Tabs block on the product page |
| Product details | The section of that name, product pages |
| Featured product | The section of that name |
| Quick view | The section of that name, in Overlays |
| Blog post | The main section of blog post pages |
| Column | In Footer main, in the footer |
Where app blocks do not fit
Every other section and block has no room for an app block. That includes:
- Header: none of its rows or items.
- Cart page and cart drawer: neither one.
- Collection and search pages: the product grid, and the filters.
- Product cards: they do not take app blocks anywhere.
- Pages and blogs: the main page section and the blog list.
- Homepage sections, and Custom section.
- Footer bottom: its three areas. Use a Column in Footer main.
For a page, the app can usually go between the sections if it offers an app section. The cart page, collection pages and search page can all take a section this way, above or below the main section. An app section cannot go inside the cart drawer or a product card. An app that needs to be there has to add itself another way, such as an embed. Before you rely on it, ask the app's support how it works with a theme that has no app block in that place, and test it on your store.
Clean up after an app
Uninstalling removes an app's blocks, sections and embeds from your storefront, because they are part of the app. Older apps may work differently: some write code into your theme files at install, and uninstalling does not remove it.
Remove it from the theme first
Delete its blocks and sections in the theme editor, and turn it off under App embeds. Then save.
Uninstall the app
In your admin, go to Settings > Apps and uninstall it. Some apps have a cleanup step of their own, so read their help pages first.
Check for leftovers
Load a few pages and look for anything still showing, such as a badge or an empty box. If you see one, ask the app's developer how to remove it fully. They know what their app added.
Remove code by hand only if you must
If the developer cannot help, duplicate the theme first, as a backup. Then, under Edit code, look for what the app added: files named after it, and lines in layout/theme.liquid. See Custom CSS and Liquid for what you take on with code changes.
Apps and speed
Apps are usually the biggest factor in how fast a store loads, because each can add code to every page. Embeds often run on every page. Before adding one for something small, check whether the theme already does it. Page speed shows how to measure, so test before and after you install an app.
Reviews apps
The theme reads ratings from Shopify's standard metafields and draws the stars itself. The list of reviews and the form come from the app. Follow Add a reviews app.
Something not working?
The app is not under the Apps tab. Either the app has no block for this place, or the place does not accept app blocks. Check the table above, then try Add section instead.
The app says to add code to the theme. Ask whether it has an app block or embed first. Code you paste into theme files stays when you remove the app, and needs care when you update the theme.
An app stops working after a theme update. Blocks and embeds may need a check after an update. See Update your theme.