Redirecting customers to my custom storefront

Redirecting customers to my custom storefront

rob72
Visitor
2 0 0

Hi All,

 

I have a custom storefront running on a custom domain. The storefront is available at:

 

customdomain.com

 

I have configured a subdomain for my shopify store to use for checkout etc:

 

store.customdomain.com

 

I would like to be able to prevent customers browsing products at store.customdomain.com on the standard shopify storefront and instead redirect them to my custom storefront, but still alow the use of store.customdomain.com for checkout etc.

 

Is this possible?

 

Thanks in advance!

Replies 2 (2)

ikbenphilip
Visitor
1 0 0

Try adding a redirect inside your header:

 

<script>

window.location.href = "[URL]"

</script>

But I get a sort of loop between the checkout page and logged in users. The checkout page does not recognize logged in users... That's what I'm trying to figure out right now. 

CaptainNick
Shopify Partner
1 0 0

Have you figured this out? This is what i want to do as well, and can't seem to figure it out. 

 

Thanks