Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Changing Address titles to UK ones


cpwtech

Recommended Posts

Hi, the address text is all american i.e. state, suburb etc.

 

What file can i edit to make these town, city, county etc.

 

Is there a add-in to do it auto. ?

 

While I`m here how do you change the colours in the shop i.e. from the default colour

 

Don`t suppose anyone out there has got a royal mail postage mod for international customers ?

 

thanks for any help

Link to comment
Share on other sites

You could change the text in english.php so it will say whatever you like for example:

 

Open includes/languages/english.php

 

Line 185

define('ENTRY_SUBURB', 'Suburb:');

change to

define('ENTRY_SUBURB', 'Town:');

Line 194

define('ENTRY_STATE', 'State/Province:');

change to

define('ENTRY_STATE', 'County:');

 

and so on....

 

You can change the date format here to on line 23

define('DATE_FORMAT', 'm/d/Y'); // this is used for date()

change to

define('DATE_FORMAT', 'd/m/Y'); // this is used for date()

and line 70

define('DOB_FORMAT_STRING', 'mm/dd/yyyy');

change to

define('DOB_FORMAT_STRING', 'dd/mm/yyyy');

 

You can play around with the colours in the stylesheet.css, you may also need an image program to change the colours of the corner boxes to your new colour. Just backup the current stylesheet.css and play around with it.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...