myhero Posted February 14, 2011 Share Posted February 14, 2011 Hi,I need to edit my address form, I just need to change the wording on the form.City = SuburbState = ProvinceCan I edit this without causing chaos to the shop and which file would it be?TxEditted both Classes>address.php(code) and themes address.tpl(display) 1 Link to comment Share on other sites More sharing options...
flamedtofu Posted September 28, 2013 Share Posted September 28, 2013 I'm also interested in the safest way to perform this. Link to comment Share on other sites More sharing options...
PascalVG Posted September 29, 2013 Share Posted September 29, 2013 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->Performanceto see the changes. (Don't forget to turn cache back ON afterwards!) My 2 cents, pascal 1 Link to comment Share on other sites More sharing options...
flamedtofu Posted September 29, 2013 Share Posted September 29, 2013 awesome, thanks pascal that worked a treat Link to comment Share on other sites More sharing options...
trevorgilligan Posted May 7, 2015 Share Posted May 7, 2015 fair play @pascalvg 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