M1CK Posted September 1, 2017 Share Posted September 1, 2017 (edited) See the image. The button in the final and crucial step of the order process is void! Is this a prestashop bug? Where should I go to fix this?This is the first project I implement with Prestashop. Thanks in advance for any help. Edited September 1, 2017 by M1CK (see edit history) Link to comment Share on other sites More sharing options...
Scully Posted September 1, 2017 Share Posted September 1, 2017 looks like a missing translation. since when do you have this? Link to comment Share on other sites More sharing options...
M1CK Posted September 1, 2017 Author Share Posted September 1, 2017 looks like a missing translation. since when do you have this? Scully, you may well be right. I translated the strings nearby the button myself, in file order-payment-classic.tpl: when I found {l s='String'} I translated the 'String' part to the language I needed. I searched the full Prestashop code for <button id="confirmOrder" and didn't find anything. I Don't find where that string is missing from. I don't know If I should be translating order-payment-classic.tpl neither, I just saw that translating that file's strings fixed the inconsistency in the interface's languge (English text in a Spanish only site). Link to comment Share on other sites More sharing options...
Scully Posted September 1, 2017 Share Posted September 1, 2017 Your way of translating is changing the contents of the .tpl - file, is this correct? If yes, it's the complete wrong way. Translations should be made via backoffice - localization - translation. If you change the .tpl files, keys (original texts) needed go missing. Link to comment Share on other sites More sharing options...
M1CK Posted September 2, 2017 Author Share Posted September 2, 2017 Scully, thank you for claryfing my complete wrongness.I first tried using the back office as you mention, but my hosting has max_input_vars set to 1000, and the translation tools needs it set to a minimum of 3450, so the tool didn't load. Now I'll ask my host to change the max_input_vars limit, restore the original .tpl and use the back-office translation tool.Hope this time everything works correctly. 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