How do I change the url on the "return to store" button

I’m using Shopify headlessly and hosting the frontend with Netlify. I noticed that if I’m out of inventory, it redirects the user back to the store, but it’s using the myshopify.com domain. How do I set it so that when the user hits “Return to store” it send them to my main domain?

I thought about changing my primary domain in Shopify to be my domain but this messed with the hosting since I’m not using the Shopify frontend.

Hi @mclimb

Are you using Shopify plus plan? Because for now, only Shopify plus plan can edit and custom checkout page.

Kind Regards,

Dan from Ryviu: Product Reviews & QA

I’m not on Shopify plus. Perhaps there’s a way to direct all traffic from my root at mystore.myshopify.com?

Ah solved it, just add the redirect into the theme.liquid file. Seems to work.

1 Like

I am not using Shopify Plus. How to solve this problem and link “Return To Store” Button to the homepage.