Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Request] Multiple Shopify stores #46

Closed
benjaminsehl opened this issue Jan 27, 2020 · 2 comments
Closed

[Request] Multiple Shopify stores #46

benjaminsehl opened this issue Jan 27, 2020 · 2 comments

Comments

@benjaminsehl
Copy link

Hey there — 

I'm in the situation of having multiple instances of Shopify — they're exactly the same, but ideally I'd manage the content in one place. So for products, I need to have the product id's from both stores link.

Would that be a remote possibility, even with some moderate/heavy modification?

Cheers

@good-idea
Copy link
Owner

This is interesting! As far as work goes, it might not be too crazy. It would mean storing an array of storefront names + access tokens, and modifying how the dashboard plugin works. The dashboard UI is going to get a full refactor anyway, might as well look into this ahead of time.

I'll tag it as a 1.0 feature for now - but I will need to consider it some more and dig into the details before confirming that it will happen. Tracking it here in a separate issue so I can see the cute "tasks complete" checkbox on the issue summary: #47

On the frontend, you would need to use separate carts for each storefront. This is outside of the scope of this project so that doesn't really matter here --- but I'm curious about how you might handle this?

@benjaminsehl
Copy link
Author

Never replied here, but in this instance the two storefronts are for different locales — so I would have a country picker, which I'd then use to select the appropriate IDs and build out the cart. That was the thought anyway! My plan though actually is to use this for everything but the product/cart/checkout pages. Linking out to subdomains for the two stores for that piece — potentially rendering any extra Sanity content client side on those pages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants