Users want to redirect customers back to the main store or previous page after login when using Shopify’s ‘New Customer Accounts’ feature, instead of the default redirect to ‘/account/orders’.
Initial Problem:
New Customer Accounts automatically redirects to the account overview page after login
No native support for custom redirections or general login links while browsing
Shopify support confirmed this limitation wasn’t clearly documented
Workarounds Attempted:
Some users reverted to old-style customer accounts
Apps for New Customer Accounts were announced for December 2024
Solution Found:
Two redirect methods now work:
routes.storefront_login_url
/customer_authentication/login?return_to=
Multiple users confirmed these solutions are effective. Full implementation details available in Shopify’s theme login documentation.
Summarized with AI on November 2.
AI used: claude-sonnet-4-5-20250929.
Unfortunately, with the new customer accounts feature, Shopify does not currently support custom redirection to stay on the same page after login. The new customer accounts feature always redirects customers to the account overview page after login.
Basically they forget to mention that new customer accounts DOES NOT SUPPORT having a general log in link on your site that allows customers to log in while browsing.