Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Two Line Address


doby48

Recommended Posts

I am new to osCommerce, MySQL and PHP but am learning. I am working on configuring the cart, and need to allow customers to enter a two line address. I don't see any contributions for this. If one already exists and I'm just blind then please let me know which one it is. Any other assistance on this would be greatly appreciated.

 

Thanks much!

Remember... Pillage BEFORE you burn!

Link to comment
Share on other sites

that's why the Suburb: is there when you sign up with a new account

Robert

 

We all need to learn it once, how hard it may seem when you look at it, also you will master it someday ;)

Link to comment
Share on other sites

Ok, found the answer the the second part of my questions. To change the name that is displayed edit the following files:

 

admin/includes/languages/english.php

admin/includes/languages/enlgish/orders.php

catalog/includes/languages/english.php

Remember... Pillage BEFORE you burn!

Link to comment
Share on other sites

you might change this also in the mySQL database

 

 

ALTER TABLE address_book CHANGE entry_suburb entry_suburb VARCHAR(64) DEFAULT NULL

Robert

 

We all need to learn it once, how hard it may seem when you look at it, also you will master it someday ;)

Link to comment
Share on other sites

Use doby48's suggestion. From customer point of view it's not suburb but address line 2. If you mod the table, other modules or code that hardwired for the name if any will break.

Link to comment
Share on other sites

also take into account what payment system you are using - Authorizenet does not have a field for address2 - not certain about the others.... :wink:

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...