How to Test Shopify Changes Without Breaking Your Store
Most Shopify stores break the same way: someone edits the live theme directly, saves, and only finds out an hour later that the add to cart button stopped working on mobile. Shopify does not have a staging site in the traditional sense, but it gives you several ways to test changes before shoppers see them. This guide explains each one, what it is good for, where it falls short, and a simple release routine your team or agency can follow every time.
Facts in this article come from Shopify's Help Centre pages on duplicating and updating themes, Shopify's developer documentation on the GitHub integration, Shopify CLI and development stores, all checked on 19 November 2026.
Does Shopify have a staging environment?
Not as a separate copy of the whole store. Your products, collections, customers, orders, menus and settings exist once, on one store. What Shopify does let you have is several themes on the same store, only one of which is published at a time. That is where most testing happens.
This distinction matters. A duplicate theme is a safe place to test design and code. It is not a safe place to test anything that changes store data, because a product you edit, a discount you create or a setting you change on the duplicate is live everywhere. For data changes you need a different approach, which we cover below.
How do you test theme changes on a duplicate theme?
This is the method every store should use for theme work:
- In your admin, go to Online Store, open the menu on your live theme and click Duplicate. The copy appears as "Copy of" plus the theme name.
- Rename it with the date and the change, so nobody confuses it with the live theme later.
- Make all edits on the copy, in the theme editor or code editor.
- Preview the copy and test it on a real phone as well as a laptop.
- When everything works, publish the copy. The old live theme stays in your library, so you can switch back in a few clicks if something goes wrong.
Two limits to know. Shopify allows a maximum of 20 themes in your admin, so old copies need clearing out. And there is a catch with timing: if the team keeps editing the live theme in the theme editor while you work on the copy, those changes are not in your copy. Agree a short freeze on live theme edits while a copy is being prepared.

What can you not test on a duplicate theme?
Anything that is not part of the theme:
- Product, collection and page content. Shared by every theme.
- Discounts, shipping rates, taxes and payment settings. Store-wide, and live the moment you save.
- App configuration. Most app settings apply to the store, not to one theme. App blocks placed in the duplicate theme are theme-specific, but the app's own rules are not.
- Checkout. Checkout is customised separately from the online store theme, through the checkout editor and apps, so testing a theme copy does not test checkout changes.
- Navigation menus. Menus are shared, so renaming a menu item to test a new header changes it on the live site too.
For these, plan the change, make it at a quiet time, and know exactly how to reverse it. Shopify's Store activity log records who changed what, which helps when something needs undoing. Our guide to the Shopify Store activity log explains how to use it.

Photo: Shopify, shopify.com/editions/fall2026
When should you use a development store?
A development store is a separate Shopify store created from a Partner account or the Dev Dashboard. It is the closest thing to a full staging site, with its own products, settings and apps. Shopify's developer documentation sets out what it can and cannot do:
- It is for development and testing only and cannot process real transactions. Test orders work through Shopify's test payment gateway or a provider's test mode.
- Development stores are always password protected.
- They cannot be transferred to a client, and cannot be converted into a production store.
- Installing third-party apps needs identity verification by you or the organisation owner.
Use a development store when you need to try something risky with store-level data: a new app that rewrites products, a new discount structure, a change to how markets are set up, or a full theme rebuild with test content. It is overkill for changing a banner.
The drawback is that the development store does not have your real catalogue or settings. Something that works there can still behave differently on the live store, so a final check on a duplicate theme on the real store is still needed.

How does the Shopify GitHub integration help?
If a developer or agency works on your theme, the GitHub integration gives you a history of every change and a way to roll back. Shopify's documentation describes how it works:
- Each connected Git branch maps to one theme in your library. You can connect a branch to a published or unpublished theme.
- Commits to the branch update the theme in Shopify.
- Changes saved in the theme editor or code editor are committed back to the branch by a Shopify bot, with the name of the person who edited.
- If a theme falls out of sync, Reset to last commit on the theme card restores it.
A clean setup is one branch for the live theme and one for a staging theme. Developers work on the staging branch, the team reviews it in preview, and the change is merged into the live branch when approved.
Shopify's documentation also lists warnings worth knowing. The code editor has no conflict alerts, so its version overwrites the GitHub version. Theme editor saves can overwrite simultaneous pushes from GitHub. In practice this means one rule: decide who edits where. Developers change code through Git. Merchants change content and settings through the theme editor. Nobody edits code in the admin code editor on a Git-connected theme.
What about Shopify CLI development themes?
Developers working locally use Shopify CLI. Running shopify theme dev creates a development theme, a temporary hidden theme connected to your store that uses your real store data and refreshes as files change. Shopify's documentation notes that development themes do not count toward the 20 theme limit and are deleted after seven days of inactivity.
That makes them good for a developer's own testing but poor for client review, because the preview disappears. For a review link that lasts, Shopify's documentation recommends pushing the work to an unpublished theme on the store.
How do you show a test theme to someone outside the team?
An unpublished theme can be previewed from the Themes page, and the preview can be shared as a link with a founder, a designer or a client who has no admin access. Treat these links as temporary. Generate a fresh one for each review rather than relying on an old link still working.
Ask reviewers to check on their own phone, not just a laptop, and to send screenshots with the page URL when something looks wrong. Most layout problems only show up at phone width.
Do theme updates need the same testing?
Yes, and Shopify's update process already helps. When you update a Theme Store theme, Shopify adds the new version to your draft themes as "Updated copy of" plus the theme name. The Help Centre says adding it "doesn't impact your current theme or any other themes". Theme editor customisations are copied across, and code edits are included if they do not conflict.
That gives you a ready-made test copy. Run the same checks as for any other change before publishing it, especially if you see the message that code edits could not be included. Our guide to updating a customised Shopify theme covers that case.
What is a safe release routine for Shopify changes?
The routine we recommend for any store with real sales:
- Write down the change. What is changing, why, and how you will check it worked.
- Back up. Duplicate the live theme as an untouched backup, separate from your working copy.
- Build on a copy. Make the change on an unpublished duplicate, or on a staging branch if you use GitHub.
- Test the money paths. On a real phone and a laptop: home page, a collection, a product with variants, add to cart, cart, and the start of checkout.
- Check tracking. Confirm your pixels and analytics still fire after the change.
- Publish at a quiet hour. Not during a sale, not late on a Friday, and not when nobody is around to watch the store for the next hour.
- Watch, then clean up. Check orders and Core Web Vitals over the next days, then delete old copies so you stay under the 20 theme limit.
Christmas, New Year and the January end-of-season sales come soon after Black Friday. If you need a theme change before one of them, publish it early enough to watch it under normal traffic first. During the sale itself, a change freeze is safer. Our post on a Shopify change freeze was written for Diwali, and the same rules apply.
Testing protects the theme, but it is not a backup of your store's data. Our guide to what Shopify backups do and do not cover explains that side.
A release routine is easier to keep when someone owns it. Our guide to what a Shopify maintenance plan should include covers how ongoing support is usually set up.
Want a release routine set up for your store? Email hello@exactwhy.com with the subject "Release workflow setup" and tell us who edits your theme today. We will review how changes reach your live store and suggest a setup that fits your team, whether that is duplicate themes or a GitHub workflow, free. If you want us to set up the GitHub connection or a staging branch, we quote that after the review, and ongoing development support is available on a monthly retainer. You can also write to us through our contact page. We reply within 4 hours.