Skip to content

Shopify Dude Fix

Shopify Theme Settings Aren’t Shared Between Theme Copies

Deploy theme code without accidentally replacing merchant configuration.

Quick answer: Treat settings_data.json as store configuration, not an ordinary code deployment artifact.
On this page

Why this happens

Theme copies can diverge as merchants edit sections, colors and app embeds. A code merge does not automatically reconcile those changes.

Implementation

Compare the destination and source settings_data.json files before deploying. Preserve destination settings and migrate only keys required by the new code. Inspect JSON templates and section groups separately because their section instances also carry configuration.

Example

For a new product section, copy its Liquid implementation and required assets first. Add its instance to the destination product template only if needed. Preserve existing section IDs and merchant-selected settings. Keep a duplicate of the destination theme for rollback.

Common misunderstanding: Copying every JSON file from staging is not a safe substitute for a targeted feature migration.
How to test this:

  1. Duplicate the live theme
  2. apply the code changes
  3. compare theme editor settings and app embeds
  4. preview product and collection templates
  5. confirm mobile behavior before publishing.
Sources and further reading: Shopify reference ยท Shopify documentation