i would like, that after a customer signs in it redirects him to the homepage. I’ve tried multiple steps, but it does not work. In the dev guide it said a snippet in the header.liquid file, but there is no such code snippet. Then i saw that is is triggered by the account-actions.liquid but i could not figure out, how to redirect the customer.
I use the new Pitch Theme, what is based on the new horizon themes and i use the new customer accounts with passwordless login.
In Shopify stores with New Customer Accounts enabled, after login, customers are redirected to the “Orders” page by default. This redirect is handled by Shopify, not the theme, and cannot be customized directly, unfortunately.
With New Customer Accounts enabled, the redirect after login is unfortunately controlled by Shopify at the platform level. That’s why you’re seeing customers always land on the Orders page … it’s not coming from your theme files (e.g., header.liquid or account-actions.liquid), but from Shopify itself.
But even then, /account itself will always redirect to Shopify’s native page when New Accounts are enabled.
If you want more control, one workaround is to keep New Accounts enabled but build your custom dashboard on a different route (like /dashboard), then send customers there post-login.
Alternatively, if you’d like a fully branded customer portal where you can decide what customers see after login (subscriptions, loyalty, invoices, or even just redirecting them home), you could try an app like Adesk Customer Accounts. It plugs into Shopify’s login but gives you freedom to design and control the customer experience, instead of being locked into the default Orders page.