cleoni Posted March 15, 2021 Share Posted March 15, 2021 (edited) Hello, on an installation of PS 1.7.1 we have noticed that the module ps_languageselector on mobile view just redirects to the desired language homepage. I think that the correct vehaviour would be to send you to the equivalent page of the one you were visiting for the chosen language. I can't seem to find the code where the redirect logic is. Anybody has tackled with this problem already? Edited March 15, 2021 by cleoni (see edit history) Link to comment Share on other sites More sharing options...
cleoni Posted March 16, 2021 Author Share Posted March 16, 2021 Hello, I am using a custom theme, but I lately found out myself. The language selector for mobile is implemented in my theme as a form with a SELECT field, and the target url for each language is coded into the VALUE attribute of the select field. The code is somewhere in Presta core logic I guess, but once you put the correct url in the value, everything works. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now