Shopify Theme Development Guide: App Blocks vs Custom Liquid
Shopify theme development on Online Store 2.0: when to use app blocks, app embeds, or custom Liquid—including when Admin sub-collection sources do not give Liquid child cards on collection templates.
Shopify Theme Development: App Blocks vs Custom Liquid
Prefer reading? Continue below.
Quick Answer
Shopify theme development done well uses Online Store 2.0 sections, metafields, and clean Liquid architecture. Choose app blocks for maintained commodity features on OS 2.0 JSON templates, app embeds for global tools, and custom Liquid for brand-specific, performance-sensitive modules. Do not paste app snippets into theme.liquid. Admin sub-collection sources control which products belong to a parent collection—they are not Liquid objects for child collection cards. Until Shopify exposes sources on the storefront, render navigation with a list-of-collections metafield (or menu) and an OS 2.0 section on the collection template.
What is Shopify theme development?
Shopify theme development is the design and engineering of storefront themes—templates, sections, Liquid, JavaScript, CSS, and content models—so the brand can sell effectively and merchants can manage content safely. A strong theme is not just visually on-brand. It is an operable system: merchants update content without tickets, developers extend features without forking chaos, and shoppers get fast, accessible pages.
When Should You Use App Blocks vs Custom Liquid?
The first architecture fork on Online Store 2.0 themes is not custom vs app—it is which app integration pattern fits, or whether custom Liquid is justified. Use app blocks for maintained commodity features on JSON templates. Use app embeds for global tools. Use custom Liquid for brand-critical, performance-sensitive modules.
Commodity maintained features belong in app blocks. Brand-critical and performance-sensitive modules belong in custom sections.
Path
Best when
Caution
App block
Commodity feature with a quality maintained app; OS 2.0 JSON templates with @app support
Audit JS weight; blocks load only where placed—still review above-fold cost
App embed
Global tools (chat, analytics, sitewide widgets); also works on vintage themes
Runs on every page where embed is enabled—easy to over-inject
You own maintenance, API changes, and uninstall hygiene
Vintage theme without OS 2.0
Legacy storefront not yet migrated
App embed or theme upgrade first—app blocks require OS 2.0 JSON templates
What Happens When You Uninstall an App?
Theme app extensions generally reduce uninstall risk because merchants manage app blocks in the editor instead of pasting snippets into core files. Pasted app snippets in theme.liquid or auto-generated apps.liquid wrappers are a common source of theme debt—they can break on uninstall and duplicate JS when merchants later add the official app block.
When Should You Use Theme Blocks (@theme)?
Native theme blocks let developers package composable Liquid inside sections without forking entire templates. They blur the line between custom Liquid and forked sections—useful when brand-specific modules need in-repo control without abandoning OS 2.0 patterns.
What Are Online Store 2.0 Building Blocks?
Modern Shopify themes lean on sections, blocks, JSON templates, and metafields. These primitives let teams compose pages without hardcoding one-off templates for every campaign. App blocks extend that model when a maintained app owns a commodity feature.
Section-based templates for home, PDP, and landing pages.
Blocks for repeatable content units with guardrails.
Metafield-driven product/content attributes instead of buried HTML.
App blocks where native sections cannot meet the need—see the fork criteria above.
How Do You Prevent Theme Debt?
Theme debt accumulates when customizations are pasted into core files without boundaries. Prefer isolated snippets/sections, clear naming, and documented settings. Avoid editing app-injected code you do not own.
Separate design tokens and shared layout primitives.
Keep business logic out of purely presentational snippets when possible.
Document theme settings and metafield dependencies.
Use version control and preview themes for every non-trivial release.
Where Do Performance Budgets Belong?
Every new section should be evaluated for script and media cost. Align with the Shopify performance optimization guide so development velocity does not silently destroy mobile Core Web Vitals.
How Do Metafields Fit Theme Development?
Hardcoded product stories do not scale. Metafields let PDP modules pull specs, icons, size guides, and trust content consistently. Plan definitions with merchants so admin workflows stay understandable—then wire theme sections to those fields.
Model catalog data before you fork sections. The Shopify metafields guide covers metafields, metaobjects, and taxonomy—the three layers most large catalogs need. List-of-collections fields also power collection-page child cards when Admin sub-collection sources are not available in Liquid—see the navigation section below.
Why Don't Admin Sub-Collections Show as Collection-Page Cards?
Merchants turn on Admin sub-collection sources expecting child collection cards on the parent collection template. Products may already appear under the parent through membership, but Liquid still has nothing to loop for titled child cards.
Community threads that discover the gap are insight only. The transferable lesson: Admin GraphQL and the new collections model are not the same as storefront Liquid navigation objects.
What Is Membership vs Navigation on Shopify Collections?
Layer A is membership: sub-collection sources tell Admin which collections feed the parent's product set. Parent collection.products can already include products from those sources without a theme change.
Layer B is navigation UI: showing titled cards (image, title, link to /collections/child-handle) requires objects Liquid can iterate—not currently the Admin sources list on the storefront.
No durable Liquid collection.children / sources loop — use metafield / menu / section interim
Admin sources change which products belong on the parent. Child collection cards still need a list-of-collections metafield or menu plus an OS 2.0 section.
Collection URLs are still handle-based (`/collections/{handle}`) in current storefront behavior; Admin nesting does not automatically create nested path URLs like `/collections/parent/child`.
What Should You Not Expect in Liquid Today?
As of current Liquid collection docs, the collection object exposes products, metafields, filters, and related fields—not a documented storefront sources or children array. Do not build on invented Liquid such as collection.sources, collection.sub_collections, or collection.children unless shopify.dev documents them.
Admin GraphQL (for example the 2026-07+ collections model) can expose CollectionSubCollectionsSource for membership. Storefront API and theme Liquid may still omit that list. Frame the gap as platform interim work, not "your theme is broken."
What Is the Interim List-of-Collections Pattern?
Preferred interim: a collection metafield typed as list of collections—use one durable key such as custom.child_collections, not a soup of aliases.
Merchants (or ops) pick child collections on the parent collection metafield.
A dedicated collection-template section loops the metafield and renders cards (image, title, URL).
Prefer an OS 2.0 section/block merchants can reposition—avoid hardcoding forks in collection.liquid when a JSON template section works.
Empty-state: hide the section when the list is empty; do not show broken cards.
Define and govern the field in the Shopify metafields guide—definition ownership lives there. Carousel or card display labels are a separate metafields pattern; do not merge that into this navigation H2.
When Is a Navigation Menu the Better Fallback?
When merchants already maintain nested menus, a section can render a menu or linklist filtered to the parent's children as a fallback.
Tradeoff: menus are shared information architecture; a metafield list is collection-specific and usually cleaner for merchandising cards. Prefer the metafield for collection-page cards; treat the menu as an acceptable fallback—not universal law.
Should You Sync Admin Sources Into a Storefront Metafield?
For catalogs that change often, an app or custom Admin workflow can read Admin GraphQL sources and write the list-of-collections metafield so the storefront stays in sync. Frame that as ops automation—not a required purchase of a specific vendor.
Shopify's documented sub-collection model is one-level nesting: depth greater than one is ineligible (`CHAIN_REFERENCE`). Do not invent recursive tree UIs the platform does not support. Until native Liquid ships, sync remains the engineering bridge—not a permanent architecture boast.
This section owns theme Liquid / section navigation after Admin sub-collections. Metafield definition and governance stay on metafields. Collection-card image weight that hurts Core Web Vitals belongs in the Shopify performance optimization guide only when cards bloat media.
How Do You Balance Custom Code and Apps?
Not every feature deserves an app, and not every feature deserves custom code. Shopify Flow automations can handle many admin workflows without storefront weight—see the Shopify Flow automations guide. Checkout and account surfaces follow their own extensibility rules—see the checkout extensibility guide when theme work touches buyer journeys beyond the storefront.
Start with a post-publish smoke ritual, not a giant generic checklist. Editor preview pass does not guarantee live storefront safety. Run an ordered first-hour check on mobile and desktop before you call the release stable.
T+0 critical path smoke checks
Open home, one collection, and one PDP on a mid-tier mobile device and desktop.
On PDP, test a non-default variant and confirm media, price, and add-to-cart state update correctly.
Add to cart, then verify cart drawer or cart page updates quantity, remove, and totals correctly.
Continue from cart into checkout to confirm entry works and payment methods render.
T+15 storefront integrity checks
Verify one revenue-critical app embed or block still renders (for example reviews or sizing guidance).
Re-check any template assignment touched by the release.
If navigation or collection templates changed, test search/filter and one key merch route.
T+60 edge-case checks
Run one no-JavaScript sanity check on core templates to catch dependency failures.
Test one inventory edge case (in-stock vs sold-out variant behavior).
Test one selling-plan or pickup path if the store uses those flows.
Merchant-safe vs developer-safe release actions
Stage
Merchant-safe checks
Developer checks
T+0
Run key shopper path from collection to checkout entry
Watch console/network for JS errors and failed cart requests
T+15
Verify business-critical app blocks and template assignments
Confirm no stale snippets or broken block schema after section changes
T+60
Confirm edge scenarios and log release notes
Capture evidence artifacts and decide rollback/escalation if unresolved
When Should You Rebuild vs Refactor a Theme?
Refactor when the architecture is sound but messy. Rebuild when the theme is an unmaintainable fork, blocks OS 2.0 workflows, or cannot meet performance budgets without fighting itself. Decision criteria should include admin usability and roadmap fit—not only aesthetics.
When Should You Bring in a Developer?
Merchants on quality OS 2.0 themes can manage sections and metafields for day-to-day edits. Bring in a Shopify developer for custom section architecture, app block schema work, performance remediation, vintage-to-OS-2.0 migrations, checkout and account extensibility adjacent to theme changes, or collection IA plus Liquid navigation modules after Admin nesting.
Zqdo's Perspective
Theme development is a Zqdo service pillar. The fork/no-fork test we use on audits: who maintains it after launch, does the theme support OS 2.0 app blocks, what is the performance budget, and can merchants edit it without a ticket? Pasted app snippets fail that test almost every time—clean app blocks or intentional custom Liquid with metafields pass it.
On sub-collections, inventory whether the ask is membership or navigation before writing Liquid. Shipping child cards for an Admin sources change that already merged products is wasted work; skipping navigation because products already appear on the parent is the opposite mistake.
Key Takeaways
✓A strong theme optimizes for merchant operability—not only visual design.
✓App blocks vs app embeds is the first fork: layout-positioned vs global tools.
✓Pasted app Liquid in core files often creates theme debt and uninstall breakage risk.
✓Performance budgets belong in development acceptance criteria, not post-launch triage.
✓Commodity features with quality apps belong in app blocks; brand-critical UX belongs in custom sections.
✓Admin sub-collection sources change product membership—they do not automatically give Liquid child collection cards.
✓Until storefront Liquid exposes sources, use a list-of-collections metafield (or menu) plus an OS 2.0 section for collection-page navigation.
Frequently Asked Questions
What is Shopify theme development?+
It is the design and engineering of Shopify storefront themes—templates, sections, Liquid/JS/CSS, and content models—so the brand can sell effectively and merchants can manage content safely.
When should I use app blocks instead of custom Liquid?+
Use app blocks when a maintained app provides the feature, your OS 2.0 theme supports @app blocks in JSON templates, and the UX is commodity—not brand-critical. Use custom Liquid sections with metafields when the module is unique to your brand, performance-sensitive above the fold, or unlikely to be supported by a durable app.
Should I use a theme from the Shopify Theme Store?+
Many brands should start from a quality OS 2.0 theme and customize. Fully custom themes make sense when brand and functional requirements exceed what a preset theme can sustainably support.
How do metafields relate to theme development?+
Metafields store structured content that theme sections can render consistently. They reduce hardcoded product pages and make large catalogs maintainable.
What causes most Shopify theme debt?+
Unmanaged custom edits, pasted app snippets in core theme files, missing documentation, and features shipped without performance or operability standards.
How do I keep a theme fast as features grow?+
Enforce performance budgets, limit global scripts, optimize media, prefer app blocks that load assets only on pages where used, and review each new section or app for storefront cost before launch.
Why don't Shopify Admin sub-collections show on my collection page in Liquid?+
Sub-collection sources affect product membership for the parent collection in Admin. They are not currently exposed as a Liquid array of child collection objects for navigation cards. To show child collection cards, use a list-of-collections metafield (or a navigation menu) plus an OS 2.0 section on the collection template—and re-check Shopify's Liquid/API docs at implement time in case native exposure ships.
Continue Learning
Related guides, real Zqdo project examples, and the category hub for deeper exploration.
David Frempong is the founder and digital consultant at Zqdo. He is a hands-on web developer and Shopify developer who helps ecommerce brands and local businesses improve their websites, integrations, SEO, AEO, analytics, and conversion performance.