How can I correctly set up a subdomain redirect for my online store?

2 0 0



I've been in touch with Shopify support regarding a subdomain we're working on setting up. We already have the store working (not launched yet) where we intend to sell to our local customers in NOK and want to set up a second store on for selling in $. As Shopify Pay / Markets isn't available in Norway yet, this seems to be the best workaround for now.
We're having issues setting up the subdomain and getting error messages or a very strangely looking store not at all like in the editor when visiting Shopify support directed me to a community post with his code which they say will fix the issue, but it needs to be edited for our domain:




if (window.location.href == "") {
   window.location.href = ''; 




I'm not proficient with coding and I have no idea what address to redirect from and to, to get things working.

I hope someone can help:)




Replies 0 (0)