Shopify themes, liquid, logos, and UX
Hi there! I'm using debut theme and customer accounts are mandatory for checkout. I'd like customers to be redirected to the Create An Account / Registration page instead of the Login page when they click the "checkout" button. Looking for advice on how to achieve this.
My website is www.juli.com.au.
Thanks in advance!
Solved! Go to the solution
This is an accepted solution.
One way to do it is by modifying your layout/theme.liquid as follows:
Add this code right after the <head> tag.
<script>
if (location.href.includes('/login?checkout')) {
location.href=location.href.replace('/login', '/register');
}
</script>
This is an accepted solution.
One way to do it is by modifying your layout/theme.liquid as follows:
Add this code right after the <head> tag.
<script>
if (location.href.includes('/login?checkout')) {
location.href=location.href.replace('/login', '/register');
}
</script>
That worked perfectly! Thank you so much 😃
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025