Guest Posted January 21, 2004 Share Posted January 21, 2004 Hi, In the New customer section when they sign up and enter their address, how do i go about chaning the address titles such as suburb to Town etc as i want to make it more UK friendly. Thanks Linz Link to comment Share on other sites More sharing options...
Noobish-n-stuff Posted January 21, 2004 Share Posted January 21, 2004 you will find that in your english.php or whatever language file you use Link to comment Share on other sites More sharing options...
241 Posted January 21, 2004 Share Posted January 21, 2004 is this what you are after in catalog/create_account.php if (ACCOUNT_GENDER == 'true') { if (isset($HTTP_POST_VARS['gender'])) { $gender = tep_db_prepare_input($HTTP_POST_VARS['gender']); } else { $gender = false; } } $firstname = tep_db_prepare_input($HTTP_POST_VARS['firstname']); $lastname = tep_db_prepare_input($HTTP_POST_VARS['lastname']); if (ACCOUNT_DOB == 'true') $dob = tep_db_prepare_input($HTTP_POST_VARS['dob']); $email_address = tep_db_prepare_input($HTTP_POST_VARS['email_address']); if (ACCOUNT_COMPANY == 'true') $company = tep_db_prepare_input($HTTP_POST_VARS['company']); $street_address = tep_db_prepare_input($HTTP_POST_VARS['street_address']); if (ACCOUNT_SUBURB == 'true') $suburb = tep_db_prepare_input($HTTP_POST_VARS['suburb']); $postcode = tep_db_prepare_input($HTTP_POST_VARS['postcode']); $city = tep_db_prepare_input($HTTP_POST_VARS['city']); if (ACCOUNT_STATE == 'true') { $state = tep_db_prepare_input($HTTP_POST_VARS['state']); if (isset($HTTP_POST_VARS['zone_id'])) { $zone_id = tep_db_prepare_input($HTTP_POST_VARS['zone_id']); } else { $zone_id = false; } } $country = tep_db_prepare_input($HTTP_POST_VARS['country']); $telephone = tep_db_prepare_input($HTTP_POST_VARS['telephone']); $fax = tep_db_prepare_input($HTTP_POST_VARS['fax']); if (isset($HTTP_POST_VARS['newsletter'])) { $newsletter = tep_db_prepare_input($HTTP_POST_VARS['newsletter']); } else { $newsletter = false; } $password = tep_db_prepare_input($HTTP_POST_VARS['password']); $confirmation = tep_db_prepare_input($HTTP_POST_VARS['confirmation']); so that you can change the text for state to region that sort of thing No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
Noobish-n-stuff Posted January 21, 2004 Share Posted January 21, 2004 will that work?? if so, it will only work for that page. if the change is made in english.php, the change will be made sitewide. (but hey, what do i know. i didn't even know what VAT was till about 5 min ago. lol) Link to comment Share on other sites More sharing options...
Guest Posted January 21, 2004 Share Posted January 21, 2004 is this what you are after in catalog/create_account.php if (ACCOUNT_GENDER == 'true') { ? ? ?if (isset($HTTP_POST_VARS['gender'])) { ? ? ? ?$gender = tep_db_prepare_input($HTTP_POST_VARS['gender']); ? ? ?} else { ? ? ? ?$gender = false; ? ? ?} ? ?} ? ?$firstname = tep_db_prepare_input($HTTP_POST_VARS['firstname']); ? ?$lastname = tep_db_prepare_input($HTTP_POST_VARS['lastname']); ? ?if (ACCOUNT_DOB == 'true') $dob = tep_db_prepare_input($HTTP_POST_VARS['dob']); ? ?$email_address = tep_db_prepare_input($HTTP_POST_VARS['email_address']); ? ?if (ACCOUNT_COMPANY == 'true') $company = tep_db_prepare_input($HTTP_POST_VARS['company']); ? ?$street_address = tep_db_prepare_input($HTTP_POST_VARS['street_address']); ? ?if (ACCOUNT_SUBURB == 'true') $suburb = tep_db_prepare_input($HTTP_POST_VARS['suburb']); ? ?$postcode = tep_db_prepare_input($HTTP_POST_VARS['postcode']); ? ?$city = tep_db_prepare_input($HTTP_POST_VARS['city']); ? ?if (ACCOUNT_STATE == 'true') { ? ? ?$state = tep_db_prepare_input($HTTP_POST_VARS['state']); ? ? ?if (isset($HTTP_POST_VARS['zone_id'])) { ? ? ? ?$zone_id = tep_db_prepare_input($HTTP_POST_VARS['zone_id']); ? ? ?} else { ? ? ? ?$zone_id = false; ? ? ?} ? ?} ? ?$country = tep_db_prepare_input($HTTP_POST_VARS['country']); ? ?$telephone = tep_db_prepare_input($HTTP_POST_VARS['telephone']); ? ?$fax = tep_db_prepare_input($HTTP_POST_VARS['fax']); ? ?if (isset($HTTP_POST_VARS['newsletter'])) { ? ? ?$newsletter = tep_db_prepare_input($HTTP_POST_VARS['newsletter']); ? ?} else { ? ? ?$newsletter = false; ? ?} ? ?$password = tep_db_prepare_input($HTTP_POST_VARS['password']); ? ?$confirmation = tep_db_prepare_input($HTTP_POST_VARS['confirmation']); so that you can change the text for state to region that sort of thing Yeah change the states bit to region and that....tried doing it there but it didn't change anything :? Will check the english.php Link to comment Share on other sites More sharing options...
241 Posted January 21, 2004 Share Posted January 21, 2004 you never know do you Jason, you might be right for once No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.