Can I use Hydrogen to have 2 different website stores but with the same shopify store in the backend? #821
-
Hi, I'm wondering if I can have the following configuration with stores hosted on hydrogen: Set 2 stores:
Being able to manage products, collections and orders from both domains in just one shopify store. I can filter the products by category in the code. And would be much simpler to manage stock and settings if I could do everything from just one end. Is that possible or would I need to have multiple stores in the backend and each one have their own app? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
We don't have native support for it with the Hydrogen channel; you would probably need to host your Hydrogen storefront somewhere else, but other than that I believe it would work. |
Beta Was this translation helpful? Give feedback.
-
I believe it is no longer possible to have two public hydrogen stores tied to a single shopify account. |
Beta Was this translation helpful? Give feedback.
-
@benjaminsehl we're starting down the this path now, just wonder if there's any more details or best practices since this was last discussed? For product availability per storefront is the best practice to use a product metafield or tag or something? |
Beta Was this translation helpful? Give feedback.
Sorry to correct you here @frehner — but you can in fact do this natively through the Hydrogen channel. You can create multiple storefronts, then have a unique domain pointed at each (ABC.com & DEF.com). You can currently create up to 25 public storefronts each with their own domain.
You currently can't publish products to individual stores (i.e. when you publish to Hydrogen, that product is available to all Hydrogen stores), so as you mentioned, you'd have to filter that through code or by providing some logic like attaching tags to products/collections (e.g.
storefront:ABC
indicates which to put which on).There are a couple other challenges, for instance notification emails would need …