Cardinal docs/Getting started
Updating the theme
How to move to a new version of Cardinal without losing your settings or your content.
Shopify does not update themes in place. A new version of Cardinal arrives as a new theme in your library, and your live theme keeps running untouched until you decide to switch. That is safe, but it means your theme settings have to come across with it.
Check which version you have
In your theme library, open the theme's … menu and choose Edit code, then open config/settings_schema.json. The theme_version line near the top is your version, for example 1.0.0. Compare it with the changelog.
What carries over and what does not
Updating from a zip file
While Cardinal is not yet on the Shopify Theme Store, every update arrives as a .zip file, and you move your setup across yourself:
- 1
Add the new version
Upload the new
.zipto your theme library. Do not publish it yet. - 2
Copy your settings across
In your current theme, open Edit code and copy the contents of
config/settings_data.json. Paste it into the same file in the new theme. This carries your style, colors, fonts, layout, favicon and social links in one move. - 3
Copy your page layouts
The sections on each page live in
templates/*.json; the header, footer and overlay live insections/header-group.json,sections/footer-group.jsonandsections/overlay-group.json. You can copy those files the same way, but read the release notes first — if a section gained or renamed settings, rebuilding it in the editor is safer. - 4
Re-apply your code changes
Add back any changes you had made to the theme's code.
- 5
Preview everything
Walk the homepage, a product, a collection, the cart and checkout on both desktop and mobile before publishing.
- 6
Publish
Publish the new version. Keep the old theme in your library for a week or two in case you spot something.
Once Cardinal is on the Theme Store
Themes installed from the Shopify Theme Store get Shopify's own update flow: the theme library tells you when a new version is available, and the update adds a new copy of the theme with your theme editor settings and content carried over. Changes made to the theme's code are not carried over. A copy uploaded from a .zip file is not connected to the Theme Store, so it keeps updating the manual way above.
Keep a change log of your own
If you or a developer edits the theme's code, write down every file you touched and why. A short note in a shared document turns a painful update into a checklist. It is the single highest-value habit for a customized theme.
Whenever possible, put custom CSS in Theme settings → Custom CSS, or in a section's own Custom CSS panel, rather than editing stylesheets. Those are saved with your settings and page layouts, which are the easiest things to carry forward. See Custom CSS.
Release notes
Every release is documented on the changelog, including anything that needs your attention when upgrading.
Still stuck? Contact support and we will help.