Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
I am using shopify-cli for last few months now.
I'm looking for workaround to modify themes from 2 or more stores at the same time. Right now I use shopify switch command to switch between different stores.
With themekit I used to fire up new terminal from each project that had config.yml with all details. It was quick and I never had to worry about switching between stores.
My question is - is there any way we can work on different stores at the same time without need to switch store -using shopify-cli ?
As far as I know this is not possible with shopify-cli, which is a huge pain. It basically degrades shopify-cli for small projects with a single shop only and themkit still stays the to-go solution for projects with multiple stores.
There's a trick using an environment file in the root of your template folder.
shopify.theme.toml
[environments.storename]
store = "storename"
Then shopify theme pull -e storename
this is one step, but how do you deal with multiple settings_data.json?
After adding [environments.storename] to Shopify.theme.toml, I successfully pulled a store's theme using the Shopify theme pull command. Later, I logged out of Shopify and logged in again, selecting a different store from which I now want to pull the theme. However, when I use the Shopify theme pull -e development command, it still shows the themes from the first store.
How can I resolve this issue?
For me shopify theme dev(or list or pull) -s store-name.myshopify.com did the trick
So -s flag with corresponding store url helps to specify the target store
https://shopify.dev/docs/api/shopify-cli/theme/theme-dev
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025