Skip to main content

Multi-Extension Architecture

Synapse supports building multiple extension types in a single Shopify app. This is the recommended Shopify architecture and allows you to create a complete app experience across all surfaces.

Repository Structure

When you create a merchant app, all extensions deploy to the same repository and Shopify app:

Extension Types

Each extension is identified by its type in shopify.extension.toml:

UI Extensions

Surfaces:
  • Checkout - Payment flow customization
  • Admin - Merchant dashboard widgets
  • Customer Account - Customer portal pages
  • Point of Sale - In-store experiences

Functions

Types:
  • Product/Order/Shipping Discounts
  • Payment Customization
  • Delivery Customization
  • Cart/Checkout Validation
  • Fulfillment Constraints

Web Pixels

Use Cases:
  • Custom analytics
  • Marketing pixel tracking
  • Event monitoring

Theme Extensions

Components:
  • App blocks
  • App embeds
  • Liquid templates

Deployment

When you push to GitHub, one deployment handles all extension types:
All extensions deploy together to the same Shopify app and are available to merchants in a single installation.

Benefits

Single App Architecture:
  • ✅ One installation for merchants
  • ✅ Shared configuration and credentials
  • ✅ Unified billing and subscription
  • ✅ Centralized analytics and monitoring
Development Benefits:
  • ✅ Shared dependencies and utilities
  • ✅ Single deployment pipeline
  • ✅ Unified version control
  • ✅ Consistent CI/CD process

Example: Complete E-commerce App

This single app provides:
  • Customer experience (checkout upsell)
  • Merchant tools (admin analytics)
  • Business logic (discounts, payment rules)
  • Data tracking (analytics)

Current Support

Synapse currently generates:
  • Checkout UI Extensions - Fully supported
  • 🚧 Functions - In development
  • 📋 Admin Extensions - Planned
  • 📋 Web Pixels - Planned
  • 📋 Theme Extensions - Planned
All generated extensions automatically deploy to your merchant’s GitHub repository and Shopify app with zero manual steps.

Next Steps

Build Checkout Extensions

Create dynamic checkout experiences

Build Functions

Add business logic and automation

Deployment Pipeline

Understand automated deployment

GitHub Integration

Set up your deployment workflow