"Go to store button" not working for different languages (new user account)

"Go to store button" not working for different languages (new user account)

0xOR
Visitor
1 0 0

Hello,

 

I have an e-shop in two languages: English and Polish. When I log into a new user account in the English version, the account is in English, and when I click the “Go to store” button, I’m taken back to the English version of the shop - everything works fine here.

 

However, when I log into a new user account from the Polish version of the shop, the account is in Polish, which is correct. But when I click the “Go to store” button, it redirects me to the English version of the shop. I then have to manually switch back to Polish.

 

Is there a way to fix this? Thanks a lot!

Replies 2 (2)

PageFly-Richard
Shopify Partner
4661 1068 1725

Hi,

This is Richard at PageFly - Shopify Advanced Page Builder app.

 

It seems there's a discrepancy in the language redirection process when users log in from the Polish version of your e-shop. The system is incorrectly redirecting them to the English version.

Potential Solutions:

  1. Check Language Cookies:

    • Inspect Cookies: Use your browser's developer tools to inspect the cookies set when a user logs in from the Polish version.
    • Verify Language Preference: Ensure the cookie storing the language preference is set correctly to Polish.
    • Clear Cookies: If the cookie is incorrect, try clearing the user's cookies and testing again.
  2. Review Redirection Logic:

    • Inspect Code: Examine the code responsible for redirecting users after login.
    • Language Detection: Verify that the code is correctly detecting the user's preferred language based on the language of the login page.
    • Redirection Based on Language: Ensure the redirection logic is set up to redirect users to the corresponding language version of the shop based on their preferred language.
  3. Test with Different Browsers:

    • Try logging in from different browsers (e.g., Chrome, Firefox, Edge) to see if the issue persists. This can help isolate browser-specific problems.
  4. Check Shopify App Settings:

    • If you're using any Shopify apps that might affect language settings or redirects, review their settings and ensure they're configured correctly.
  5. Consult Shopify Support:

    • If you've exhausted these troubleshooting steps, reach out to Shopify's support team for further assistance. They can provide more specific guidance based on your e-shop's setup and configuration.

Hoping my solution helps you solve your problem.

Best regards,

Richard | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available) 


All features are available from Free plan. Live Chat Support is available 24/7.

marekduda
Visitor
2 0 0

You might need to check if the "Go to store" button has dynamic URL settings based on the language. It could be a missing parameter that isn't updating for the Polish version. Double-check your localization settings or the redirect logic for that button. OnSkin