depenalty Posted November 16 Share Posted November 16 (edited) Hello, I have a store in 4 languages (Spanish, English, French, and German) that works well except for one issue. When I press the "Add to cart" button while on the English or German version, the product is added in Spanish, and then it redirects to the checkout page in Spanish. However, this issue does not occur with French, where everything works without changing the language. If I disable the Spanish language, everything works correctly, but as soon as I enable it again, the problem reappears. I am using Prestashop 8.1.3 with the Classic Theme. Any ideas on how to solve this? Thank you very much. Edited November 19 by depenalty wrong word (see edit history) Link to comment Share on other sites More sharing options...
Prestashop Addict Posted November 18 Share Posted November 18 Hi, you mean the modal after click add to cart? And the checkout resume page? Link to comment Share on other sites More sharing options...
depenalty Posted November 18 Author Share Posted November 18 14 minutes ago, Prestashop Addict said: Hi, you mean the modal after click add to cart? And the checkout resume page? Yes, the modal window appears in Spanish. If I click on "checkout" from the modal window, it stays in Spanish. If I click on the store's cart icon, it switches to English. The same happens with German, but not with French, which works correctly. error.mov Link to comment Share on other sites More sharing options...
Prestashop Addict Posted November 18 Share Posted November 18 Hum, did you import all languages from Prestashop backoffice? Link to comment Share on other sites More sharing options...
depenalty Posted November 18 Author Share Posted November 18 Yes, and I have checked it several times. In fact, the only issue with the languages is with the modal window. I don’t know what else to do. Link to comment Share on other sites More sharing options...
Prestashop Addict Posted November 18 Share Posted November 18 So this is a js issue. Did you modify an js, your theme seems to be modified from inital Classic? Link to comment Share on other sites More sharing options...
depenalty Posted November 18 Author Share Posted November 18 I haven’t touched the JavaScript. I’m using the Child Theme of the Classic Theme, but the issue also occurs with the original Classic Theme. Link to comment Share on other sites More sharing options...
Loes Braam Posted November 18 Share Posted November 18 Check that cookies are not overwritten or reset when switching between languages Link to comment Share on other sites More sharing options...
depenalty Posted November 18 Author Share Posted November 18 Already did. No success. 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