The Comprehensive Guide to Shopify Online Store 2.0 Theme Architecture

The Modern Shopify Theme Revolution

With the release of Online Store 2.0 (OS 2.0), Shopify completely revolutionized theme architecture. Previously, dynamic sections were locked strictly to the homepage. In OS 2.0, sections everywhere empowers merchants to add, reorder, and customize modular blocks across every page template via JSON schemas.

Understanding OS 2.0 architecture is mandatory for modern Shopify developers.

1. Key Pillars of Online Store 2.0

  • JSON Templates: Traditional .liquid page templates have been replaced by declarative .json files defining section order and block settings.
  • Sections Everywhere: Merchants can assemble custom landing pages, collection headers, and blog layouts without touching a single line of code.
  • Theme App Extensions: Third-party apps inject their UI via clean app blocks, preventing permanent code clutter inside core theme files.
  • Standardized Dynamic Sources: Connect theme settings directly to Metafields with zero custom Liquid coding.

2. Anatomy of a Modern JSON Template

Here is how templates/product.json organizes modular components:

{
  "sections": {
    "main": {
      "type": "main-product",
      "blocks": {
        "title": { "type": "title" },
        "price": { "type": "price" },
        "buy_buttons": { "type": "buy_buttons" }
      },
      "block_order": ["title", "price", "buy_buttons"]
    },
    "recommendations": {
      "type": "product-recommendations"
    }
  },
  "order": ["main", "recommendations"]
}

Conclusion

Online Store 2.0 provides the ultimate balance of developer efficiency and merchant empowerment. Ready to build a bespoke OS 2.0 theme for your brand? Explore my Shopify development services or get in touch.