Jump to content

Done: How to edit Address form wording only (need ot change city to Suburband State to Province)


myhero

Recommended Posts

Hi,

I need to edit my address form, I just need to change the wording on the form.

City = Suburb
State = Province

Can I edit this without causing chaos to the shop and which file would it be?

Tx

Editted both Classes>address.php(code) and themes address.tpl(display)

  • Like 1
Link to comment
Share on other sites

  • 2 years later...

Hi hero, tofu,

Easiest is probably to just translate the field into another English word (city->Suburb, State->Province)

Localization->Translations.

Select front office translations, choose your theme (standard 'default') and the language you want to translate to. If just other wording, but still English, click the USA flag.

Find (Ctrl-F/Command-F) city on the page and check a little bit in which block it occurs. If you see it has to do with addresses, well, just change to Suburb. There may be more "City"'s, so see if there are more to translate. Same with State.

 

When finished, save and Reload your page (Ctrl-F5/Command-R).

 

(You may need to (TEMPORARILY!!): - turn OFF your smarty cache and- 'Template cache' set to "Recompile templates if the files have been updated" in

Advanced Parameters->Performance
to see the changes. (Don't forget to turn cache back ON afterwards!)

 

My 2 cents,

pascal

  • Like 1
Link to comment
Share on other sites

  • 1 year later...

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...