Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

changing address format


dazza05

Recommended Posts

hi

 

i wanted to change the way users entered their address details

 

i have edited these 2 files.

catalog/include/language/english.php

admin/include/language/english.php

i have changed the define('ENTRY_SUBURB','Suburb') to define('ENTRY_SUBURB','Street address 2:')

 

i have also changed define('ENTRY_STATE','State') to define('ENTRY_SUBURB','County')

 

i have changed the define error messages too.

 

it works fine in both the catalog and the admin area and the new format is shown, its is also stored in the database under the original names, i can see them in the database,

 

but the problem i have is in the admin section when i click on orders and click view invoice or shipping slip the address is not shown for the address section but the telephone number, payment type, are showing.

 

what do i need to change? its all most like its not being read back out from the database.....

i have looked at the VAR size for the database fields and they are big enough.

why is it happening.

 

i also applied the create custom account contribute previously before these changes which has worked fine with no problems maybe is it down to this? just so you know........

 

thanks any help is greatly appreciated

darren :thumbsup: :thumbsup: :thumbsup: :rolleyes: :rolleyes:

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...