Online Store 2.0 Multi-store Github Theme Setup

timd
Shopify Expert
77 3 23

I have a number of clients with multiple regional stores that share the same theme but have different settings_data.json files. This wasn't a problem with ThemeKit because we could exclude files in the config.yml file.

But as I begin to migrate stores to use the new Shopify Github and Online Store 2.0 functionality I'm not sure how to maintain a theme across multiple stores with different theme settings and json data.

Adding the templates/* to .gitignore removes the files from the theme on Shopify so I'm not sure if there is any alternative to retain json data files on the Shopify store theme, but have them untracked in the git repo

HiddeISM
New Member
2 0 1

We have the same issue. Do you have any updates on this?

0 Likes
timd
Shopify Expert
77 3 23

I haven't been able to find a solution yet and its a bit tricky even with Theme Kit because I need to add each .json template to the ignore list of each regional store. When its a client with 5+ regions, dev and production environments for each and a ton of json templates it becomes quite a long config file and a lot of keep on top of.

It would be great if there was a wildcard *.json ignore rule for Theme Kit

timd
Shopify Expert
77 3 23

I've found there is a wild card feature for Theme Kit: https://github.com/Shopify/themekit/issues/36