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
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025