Skip to content

[Feature]: Multiple Stores Using Same Github Branch  #3509

Description

@skyproddev

What area(s) will this request affect?

Deployment

What type of change do you want to see?

Substantial change to existing feature

Overview

As many people have found (see articles linked at the bottom) there are issues about running the same theme on multiple GitHub branches, for multiple stores. But that setup is a very common scenario for us devs.

The problem

The problem is simply summed up in that the theme's json files (that holds settings/customizations) will be individually altered by the integrated themes and pushed from Shopify to GitHub.
If I then push new code edits from my dev theme to the live branches, there will mostly be conflicts. Going through these conflicts individually is cumbersome, and prone to errors.
(For example: If the local json files have been altered while testing and developing, and there is no conflict, because develop is ahead of live branches — then the test settings are accidentally merged to live themes without conflict.)

The solutions suggested in the various articles come so close to an automated version, enabling us to ignore config/*json, templates/*json and locales/*json, but it doesn't quite land. I've spent hours trying to automate the flow for one client, but I reach a dead end each time I think I almost made it.

The solution

I have no specific suggestion as to how to solve it, but I first wanted to gauge the interest and see if this feature request gains some traction. And also by linking all the articles below, I want to highlight that this is an issue that many people have dived into deeply, without luck.

Maybe the solution would be something about how the Shopify GitHub integration interacts with .gitignore files. Maybe it would be something in the CLI itself. But this scenario is well worth a solution, since almost any international store benefits from this.

Conversations around this topic, which all lead to the same dead end (except maybe one very complex setup outside of the Shopify eco-system, which I have not personally tested):

Motivation

Trying to maintain and develop the same theme over multiple stores, using GitHub branches, without overriding settings pushed from the Shopify GitHub integration.

Activity

  1. skyproddev commented on Mar 1, 2024

    @skyproddev
    Author

    Right after I published this, I found a fantastic GitHub action written for this very purpose:
    https://github.com/Jamiemccleave/shopify-multi-store-deployer

    Thank you Jamie!!

    It works like a charm and solves the problem precisely!

  2. nboliver-ventureweb commented on Mar 20, 2024

    @nboliver-ventureweb

    @skyproddev Does your theme have an asset build step? How do you handle that, if so?

  3. skyproddev commented on Mar 21, 2024

    @skyproddev
    Author

    @skyproddev Does your theme have an asset build step? How do you handle that, if so?

    Nowadays I try to follow the structure of the newest Dawn version, where it's regular uncompiled css and js, and it's split up into many files, which are included in individual sections. But I have used webpack and gulp and stuff back in the days. Then I just put it in a dev folder and keep it on github along with the theme. Its not a problem. The Shopify github connection will ignore files in a folder that's not in their structure, so it stays only on your local machine and on github.

  4. Jamiemccleave commented on Mar 21, 2024

    @Jamiemccleave

    @skyproddev Thanks!

  5. jeffreyguenther commented on Mar 26, 2024

    @jeffreyguenther

    @skyproddev Looks like you've found a solution that works for you.

    If you're curious about an alternative solution check out Shopkeeper. It takes a slightly different approach that treats main as the source of truth and your theme folder as a 'build artifact'.

  6. github-actions commented on May 7, 2024

    @github-actions
    Contributor

    This issue seems inactive. If it's still relevant, please add a comment saying so. Otherwise, take no action.
    → If there's no activity within a week, then a bot will automatically close this.
    Thanks for helping to improve Shopify's dev tooling and experience.

    P.S. You can learn more about why we stale issues here.

  7. github-actions commented on Jun 27, 2024

    @github-actions
    Contributor

    This issue seems inactive. If it's still relevant, please add a comment saying so. Otherwise, take no action.
    → If there's no activity within a week, then a bot will automatically close this.
    Thanks for helping to improve Shopify's dev tooling and experience.

    P.S. You can learn more about why we stale issues here.

  8. hannahbeasley commented on Jul 12, 2024

    @hannahbeasley

    This is an issue for our agency as well! Another consideration for us is the idea of third party apps being able to edit code themselves - and those changes are of course always pushed to Github. If we have an app installed on one store but not another, we don't want the app edits showing up on a store that's not using that app.

    But at the end of the day, what's most important for us is to be able to streamline theme updates. One of our clients has two sites that are essentially identical at the code level, and just have varying content and apps. It's inefficient for us to manually manage separate branches for each store, when updates at the theme level from our side will always apply to both sites. So being able to use a single branch for both sites would save us a lot of time.

    I think it would be ideal if Shopify contextualized all files that store content (layout files, templates, section groups) and made a way for that to optionally be protected at the store level while still allowing all other theme content to be shared as needed.

  9. leon-schnieders commented on Jul 22, 2024

    @leon-schnieders

    We need this too, as we have a couple of very similar shops. I suggest a solution similar to custom apps for managing themes across multiple stores. "Custom themes" could be published to all stores in a Shopify Plus organization with a single install link and updated centrally. This would streamline updates and maintain store-specific settings.

    Looking forward to updates on this thread!

  10. 62 remaining items

  11. nboliver-ventureweb commented on Jun 2, 2026

    @nboliver-ventureweb

    Still relevant

  12. graygilmore commented on Jun 9, 2026

    @graygilmore
    Contributor

    Hey folks! For what it's worth this is not something that has been forgotten about completely. We want to make sure that if we ever do a large restructure to how themes are developed that it's with the long term in mind.

    We may be looking at this in the near future but I cannot promise any kind of timeline.

    I appreciate keeping this issue alive.

  13. nboliver-ventureweb commented on Jun 10, 2026

    @nboliver-ventureweb

    Thanks for the update @graygilmore 🙏
    Separating data from presentation would be a huge benefit for developing and managing themes.

  14. github-actions commented on Jul 23, 2026

    @github-actions
    Contributor

    This issue seems inactive. If it's still relevant, please add a comment saying so. Otherwise, take no action.
    → If there's no activity within a week, then a bot will automatically close this.
    Thanks for helping to improve Shopify's dev tooling and experience.

    P.S. You can learn more about why we stale issues here.

  15. nboliver-ventureweb commented on Aug 4, 2026

    @nboliver-ventureweb

    @graygilmore any way to get this issue re-opened? I wasn't able to respond quickly enough, but I do think it's still relevant.

  16. github-actions commented on Sep 18, 2026

    @github-actions
    Contributor

    This issue seems inactive. If it's still relevant, please add a comment saying so. Otherwise, take no action.
    → If there's no activity within a week, then a bot will automatically close this.
    Thanks for helping to improve Shopify's dev tooling and experience.

    P.S. You can learn more about why we stale issues here.

  17. nboliver-ventureweb commented on Sep 18, 2026

    @nboliver-ventureweb

    Yup, still relevant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions