Guest Posted November 28, 2007 Posted November 28, 2007 Hi. my shop is for a primarily UK based business and i want to change the personal information fields to reflect this if possible. i can live with Street address and postcode is obviously fine but i want Town instead of Suburb and County instead of State/Province. i have found where i can turn them on and off (true and false) but i want to actually change the text. i tried fiddling around in catalog/create_account.php but that didnt change anything. as you might guess i am a newbie to all this coding mallarky so be gentle please!! many thanks Richard
germ Posted November 28, 2007 Posted November 28, 2007 Look in /catalog/includes/languages/english.php i want Town instead of Suburb and County instead of State/Province. That is controlled by these: define('ENTRY_SUBURB', 'Suburb:'); define('ENTRY_STATE', 'State/Province:'); Then, in your /admin/includes/languages/english.php define('ENTRY_SUBURB', 'Suburb:'); define('ENTRY_STATE', 'State:'); Just edit the text between the two ' ' Example in RED : define('ENTRY_STATE', 'State:'); It's a good idea to make backups of anything before editing. There is a contribution (I don't have the link right now) to change to EU format (date & such) for your entire store. It might include these changes, I'm not sure. If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
♥14steve14 Posted November 28, 2007 Posted November 28, 2007 If you have a new site with no mods, why not install the Uk version of oscommerce from the contributions section. That version is exactly the same, but has nearly all things changed to Uk format including dates and addresses in all places. REMEMBER BACKUP, BACKUP AND BACKUP
Guest Posted November 29, 2007 Posted November 29, 2007 If you have a new site with no mods, why not install the Uk version of oscommerce from the contributions section. That version is exactly the same, but has nearly all things changed to Uk format including dates and addresses in all places. The contrib has not been updated. Just use the info in it to change your files.
Guest Posted November 29, 2007 Posted November 29, 2007 Thanks germ and others, was able to easily change the site with those tips, as always someone is there to help, i love this place !! :thumbsup: My OSCommerce software was preinstalled on the server so i had no choice of which version to use, but its very workable and looking better every time i can play with it. many thanks Richard
Recommended Posts
Archived
This topic is now archived and is closed to further replies.