Jump to content

How Can I Change Field Label in Address Form


Osama Nashaat

Recommended Posts

  • 1 year later...

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

  • 2 months later...

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 by MarioH (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...