Linking Multiple Shopify Stores Locally #2351
Unanswered
bonamsrikanth1
asked this question in
Help
Replies: 2 comments 1 reply
-
This is a great feature enhancement idea. For the moment, I think you'll just have to manually manage a local .env file. |
Beta Was this translation helpful? Give feedback.
1 reply
-
I think this would make it work: #2392 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Discussion: Linking Multiple Shopify Stores Locally
Issue Summary:
We are currently facing an issue with our local development setup for a Shopify Hydrogen project. Our goal is to link multiple Shopify stores locally and run them using specific npm commands. However, every time we link a new Shopify store, it overrides the existing Shopify settings and environment variables. We would like to be able to run different stores (e.g., CA, US, UK and AU) with commands like
npm run dev:ca
and have it load the respective store without affecting the other configurations.Questions:
Desired Outcome:
We want to be able to run commands such as
npm run dev:ca
to load the CA store and have similar commands for other stores (e.g.,npm run dev:us
for the US store). Deployment wise it works well and we connected each store to the main repo and it generated different oxygen yml files.Environment Details:
Any guidance, best practices, or examples from the community would be greatly appreciated.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions