I’ve recently rebuilt my Shopify store to use the new Hydrogen framework, but I’m having a few nagging issues that are concerning, specifically around checkouts and the checkout page.
As instructed by Shopify, I created a new subdomain (shop.mydomainname.com) specifically for checkouts. This means that customers will see my subdomain in the URL bar rather than a “myshopify.com” domain, which is good. However, on the checkout page, if a customer clicks on our company’s logo or the checkout page’s “cart” icon in the header, they’ll be sent to our old store (aka the “Online Store” sales channel).
For other folks that have migrated from a theme-based store to Hydrogen, how are you getting around this? I considered making a javascript redirect at the ‘/’ route for “Online Store”, but that seems awkward and likely has some edge cases I haven’t considered. I’m hoping there is a better way, or even better, that Shopify is working on something that will help us out. Surely there are more than a few people having problems related to this??