"Sign-in with Shop" may be overriding the theme's login redirection

Topic summary

A user has identified an issue where enabling “Sign-in with Shop” appears to override the theme’s custom login redirection behavior.

The Problem:

  • Normally, the return_to parameter in the customer_login form allows specifying a redirect destination after login (e.g., homepage via return_to: '/')
  • When “Sign-in with Shop” is active, customers are always redirected to the /account page instead of the specified return_to destination

Status:

  • The user is seeking confirmation whether this behavior is accurate
  • They want to know if there’s a workaround or fix available
  • No responses or solutions have been provided yet
Summarized with AI on November 16. AI used: claude-sonnet-4-5-20250929.

Hey there,

I have noticed that when “Sign-in with Shop” is enabled, it looks like it overrides the “return_to” value of the theme’s sign-in form. For example, while this would normally redirect to the home page after signing in: {% form 'customer_login', return_to: '/' %}, it looks like when customers sign in with Shop it always redirects them to the /account page instead of the page specified in the return_to parameter of the “customer_login” form. Is this true? And if so is it something that can be fixed?

Thanks!