Content Merge
Overview
Section titled “Overview”The Content Merge block combines your GitHub repository code with your target Shopify theme customizations. This prevents overwriting changes made directly in the Shopify admin (theme editor, content, settings).
How It Works
Section titled “How It Works”- Fetches target theme from Shopify (current state with all admin changes)
- Fetches your code from GitHub
- Merges intelligently:
.liquidfiles: GitHub version wins (your code)settings_data.json: Merges changes (preserves admin settings)*.jsontemplates: GitHub version wins- Assets: GitHub version wins
- Outputs merged result ready for deployment
Configuration
Section titled “Configuration”| Setting | Description | Example |
|---|---|---|
| Store handle | Your store’s myshopify.com domain | mystore.myshopify.com |
| Theme ID | Source theme to merge from | 123456789 |
Finding Your Theme ID
Section titled “Finding Your Theme ID”- In Shopify Admin, go to Online Store → Themes
- Click “…” on the theme you want to use
- Click “Edit code”
- The theme ID is in the URL:
.../themes/123456789/...
Workflow Placement
Section titled “Workflow Placement”Content Merge typically goes between Checkout and Deploy:
Checkout → Content Merge → DeployOr with a backup first:
Checkout → Backup → Content Merge → DeployComparison: Content Merge vs Direct Deploy
Section titled “Comparison: Content Merge vs Direct Deploy”| Scenario | With Content Merge | Direct Deploy |
|---|---|---|
| Admin changed banner text | ✅ Preserved | ❌ Overwritten |
| Developer updated header.liquid | ✅ Applied | ✅ Applied |
| New section added in admin | ✅ Preserved | ❌ Overwritten |
| Clean slate deployment | ⚠️ Extra step | ✅ Faster |
Limitations
Section titled “Limitations”- Cannot merge binary assets (images, fonts) — these are replaced
- Large themes (>100MB) may timeout during merge
Troubleshooting
Section titled “Troubleshooting”“Content merge failed”
- Verify theme ID is correct and the theme exists
- Check store credentials are valid (reconnect if needed)
“Settings conflict detected”
- This is a warning, not an error
- The merge continues with the
prefer-githubstrategy - Review your
settings_data.jsonafter deploy
Plan Availability
Section titled “Plan Availability”Available on all plans (Free, Starter, Growth, Scale).
