Do changes in Theme contain Database changes?

Topic summary

Main issue: After pushing a theme, previously made customizer changes (and even created pages) appeared lost; the poster asks if deploying a theme alters the store’s database.

Key clarification:

  • Changes made in the local theme editor launched via Shopify CLI (command-line interface) do not write to the theme’s config files or the store. They are only for previewing how code changes would look (e.g., newly added section settings).
  • To persist theme editor changes, they must be made in the live store’s theme editor, not in the CLI-generated local preview.

Outcome: The behavior is explained; pushing a theme does not carry over local preview settings. Action item is to redo necessary settings changes in the live theme editor.

Status: Effectively resolved regarding theme settings. The specific point about “created pages” isn’t addressed directly and remains unclear.

Summarized with AI on January 16. AI used: gpt-5.

Does pushing a theme actually change the dabase in terms of changes done in the customizer in the meantime (while developing the theme locally)? Because all our changes got Lost. Even created Pages etc. everything is gone after the theme push…

This is the way the theme was customized in the meantime:

https://shopify.dev/docs/themes/getting-started/customize

Hi 666thSense,

When you are using the Shopify CLI to create a locally running version of the theme editor, and you make changes to settings on the local version of the theme editor, these changes are not populated across to the themes config files where theme editor settings are stored. If you want to make changes via the theme editor you need to do this via the live stores version of the theme editor, and not the local preview that’s generated with the CLI.

The local version of the theme editor is intended to allow you to preview how code changes that you’re making on the theme would appear - eg: if you’re adding a new setting to a section, you can see how that setting would appear in the theme editor preview.

Hope this helps,