Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi everyone!
I'd like to use the new passwordless login experience, described here: https://help.shopify.com/de/manual/customers/customer-accounts/new-customer-accounts
After login in, though, I'd like to redirect customers to a page I specify. Does anyone know, it that's possible?
I'm thinking of something like a GET parameter, that can be appended to the login URL.
e.g. https://shopify.com/XXXXXXXXXX/account ?redirect_to=/overview/
In this example, the "?redirect_to=/overview/" part would specify the target after login.
Any hints?
Best
Patrick
Solved! Go to the solution
This is an accepted solution.
Hi @PatrickHeck
Yes, you are right because shopify don't allow any kind of editing to login, and account flow.
Therefore if you need any design or flow change you have to switch to classic login.
Hi @PatrickHeck
To change the landing url after login please follow the below steps.
Go to online-store - > edit theme search for main-login.liquid and find code
{%- form 'customer_login', novalidate: 'novalidate' -%}
now put the below line just after the above code
<input type="hidden" id="checkout_url" name="checkout_url" value="/">
value="/" refer to homepage here you can provide any URL.
Thanks @gr_trading ! But isn't main-login.liquid meant to control the classical login? (The login that needs a password)
This is an accepted solution.
Hi @PatrickHeck
Yes, you are right because shopify don't allow any kind of editing to login, and account flow.
Therefore if you need any design or flow change you have to switch to classic login.
Will the new login experience never have abilities for customization?
Meaning... if there is anything in it that's not working for a certain store solution, is the only option to go back to classic?
I've just made the switch myself and am not fully understanding if there are *any* customization options at all.
Since you started this a few month ago, Patrick, I wonder if you can help me understand this.
Hi Linia,
thanks for contributing to this thread. However, I don't have any further information than the accepted solution contains. For general customization options, apart from the one discussed here, take a look at the manual: https://help.shopify.com/de/manual/customers/customer-accounts/new-customer-accounts.
Thanks so much for the response. Yes - I had run into that documentation while switching myself.
The documentation is helpful. I just didn't realize that the flow would be and going to the 'orders' page after login, which is quite unintuitive/problematic for my business, given the experience we need to provide clients.
The fact that there can be no customization is a bit surprising.
In any case - may end up going back to classic accounts. Thanks again for your response!
This is one of the dumbest things I've ever seen. I finally made the switch last night to the New Customer accounts. Just tested this morning, and it's taking me to an account page? No other website I've ever used does that. It takes you right back to the page you were on when you logged in. So. Dumb.
Hi @linia,
To customise the order section Shopify is working for order checkout extension permissions.
its in developer mode and allowed to build and test the apps.
Shopify is trying to stop users to polluting its theme structure by stoping the access to their key resources and making more scoping to do things using APPs only.
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024