Tepster Posted November 29, 2013 Share Posted November 29, 2013 Hello, please help me. I need the PHP file, which is called by AJAX in order-opc.tpl (line 559). This file returns the JSON object with informations about errors in register-account form. Please, where is this PHP file? Thank you Link to comment Share on other sites More sharing options...
ibndawood Posted November 29, 2013 Share Posted November 29, 2013 It calls controllers/front/AuthController.php and the method that gets executed is processSubmitAccount Hope this helps. If you can tell the problem, may be I have better suggestion. Link to comment Share on other sites More sharing options...
Tepster Posted November 29, 2013 Author Share Posted November 29, 2013 Thank you I need to change error messages in creating new account. For example there is: "1. Firstname id required." and I want to change format of this messages for example to "You must enter the firstname.". Where I can change it? Link to comment Share on other sites More sharing options...
PrestaHeroes USA Posted November 29, 2013 Share Posted November 29, 2013 Thank you I need to change error messages in creating new account. For example there is: "1. Firstname id required." and I want to change format of this messages for example to "You must enter the firstname.". Where I can change it? back office-->localization-->translations now select Error message translations-->flag of lang you want to work with here you may find what you are wanting to translate, or replace a string of text to another that suits you needs. note: if you want to upgrade in the future and 'not' lose customization of your shop content, use the translation feature.. Link to comment Share on other sites More sharing options...
ibndawood Posted November 30, 2013 Share Posted November 30, 2013 back office-->localization-->translations now select Error message translations-->flag of lang you want to work with here you may find what you are wanting to translate, or replace a string of text to another that suits you needs. note: if you want to upgrade in the future and 'not' lose customization of your shop content, use the translation feature.. Yes this is the right way to do it if you want to preserver your new error messages. Otherwise they will be lost when you upgrade. Link to comment Share on other sites More sharing options...
Recommended Posts