Osama Nashaat Posted September 15, 2017 Share Posted September 15, 2017 How can i change field label name in address form like attached photo Thanks for help Link to comment Share on other sites More sharing options...
prestahero.com Posted September 16, 2017 Share Posted September 16, 2017 How can i change field label name in address form like attached photo Thanks for help hi open this file: classes/form/CustomerAddressFormatter.php, find this function: getFieldLabel and edit the labels showed in the following screenshot: http://prntscr.com/glqaaq Cheers 2 Link to comment Share on other sites More sharing options...
Osama Nashaat Posted September 16, 2017 Author Share Posted September 16, 2017 Thank you so much Link to comment Share on other sites More sharing options...
prestahero.com Posted September 18, 2017 Share Posted September 18, 2017 Thank you so much You're welcome. did it help? 2 Link to comment Share on other sites More sharing options...
Osama Nashaat Posted September 20, 2017 Author Share Posted September 20, 2017 Yes it help, Thanks. Link to comment Share on other sites More sharing options...
nataliasepu Posted January 15, 2019 Share Posted January 15, 2019 It worked! If you have to change a translation, like we needed to, you can do this: case 'Country': return $this->translator->trans('Departamento', [], 'Shop.Forms.Labels'); case 'State': return $this->translator->trans('Ciudad', [], 'Shop.Forms.Labels'); case 'dni': return $this->translator->trans('Cédula', [], 'Shop.Forms.Labels'); Link to comment Share on other sites More sharing options...
MarioH Posted April 5, 2019 Share Posted April 5, 2019 (edited) Excelent I have been looking for that for the last 3 months. How can I translate those variables from the backoffice? Should I translate a theme, a module, or another option? Besides, I want to add the "other" field to the email template regarding the seller, how can I link that variable into the email because I tried and It is not sent with the email Edited April 5, 2019 by MarioH (see edit history) Link to comment Share on other sites More sharing options...
Bhawani-Singh Posted April 6, 2019 Share Posted April 6, 2019 On 9/18/2017 at 9:38 AM, ets-soft said: You're welcome. did it help? Yes, it does help a lot. 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