Skip to content
Learnby Zqdo

Shopify Development

Draft — noindex until QA auto-publish

Shopify Theme Development: App Blocks vs Custom Liquid

Shopify theme development on Online Store 2.0: when to use app blocks, app embeds, or custom Liquid. Fork criteria, metafields, performance budgets, and architecture merchants can operate.

Published
Updated
Reading time
16 min read

Watch the Video

Best Shopify Themes in 2025

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.

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.

Decision table for choosing Shopify app blocks, app embeds, or custom Liquid on Online Store 2.0 themes

Commodity maintained features belong in app blocks. Brand-critical and performance-sensitive modules belong in custom sections.

PathBest whenCaution
App blockCommodity feature with a quality maintained app; OS 2.0 JSON templates with @app supportAudit JS weight; blocks load only where placed—still review above-fold cost
App embedGlobal tools (chat, analytics, sitewide widgets); also works on vintage themesRuns on every page where embed is enabled—easy to over-inject
Custom Liquid section/blockBrand-specific PDP modules, performance-sensitive above-fold UX, unique layoutYou own maintenance, API changes, and uninstall hygiene
Vintage theme without OS 2.0Legacy storefront not yet migratedApp embed or theme upgrade first—app blocks require OS 2.0 JSON templates

What Happens When You Uninstall an App?

App blocks remove cleanly when merchants delete the block from a template. Pasted app snippets in theme.liquid or auto-generated apps.liquid wrappers are the top source of theme debt—they 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.

  1. Separate design tokens and shared layout primitives.
  2. Keep business logic out of purely presentational snippets when possible.
  3. Document theme settings and metafield dependencies.
  4. 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.

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. Checkout and account surfaces follow their own extensibility rules—see the checkout extensibility guide when theme work touches buyer journeys beyond the storefront.

NeedPrefer
Unique brand PDP moduleCustom section + metafields
Commodity reviews widgetVetted app block with performance review
Internal tagging rulesShopify Flow where available
Complex B2B logicCustom development with clear ownership

What Should Theme QA Include?

Theme releases should include mobile QA, keyboard accessibility checks, and template regression tests for cart and PDP. Visual QA alone misses broken variant JS or CLS from late banners.

  • Test key templates on mid-tier mobile devices.
  • Verify focus states and form labels.
  • Confirm app blocks still render after section moves.
  • Keep a rollback theme ready for peak periods.

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, or checkout and account extensibility adjacent to theme changes.

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.

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 theme.liquid is the top source of theme debt and uninstall breakage.
  • Theme blocks (@theme) blur custom Liquid vs forked sections—native composability reduces forks.
  • 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.

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.

What clients say

Trusted by Shopify Brands

Clutch and first-party reviews from merchants who've worked with Zqdo on Shopify development and optimization.

What clients say

Need custom Shopify development?

Zqdo builds maintainable Shopify theme, metafield, and custom development solutions that match how your business actually sells.

David Frempong, founder and digital consultant at Zqdo

About the author

David Frempong

Founder & Digital Consultant at Zqdo

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.

  • Shopify development
  • WordPress & website development
  • SEO & local SEO
  • AEO
  • CRO & analytics
  • Integrations & performance