Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Modifying Address Book Zip Code Location


mrossi

Recommended Posts

Goal: When you go to edit your address under my account to move zip code down below state where it logically should be.

 

Now it reads:

Address

Zip

State

County

 

Like to read:

Address

State

Zipcode

Country

 

I have modfiied these easily for when a customer creates a new account, just not when they go into their address book and change.

 

After a few hours and looking thru alot of files I still cannot find where this form is. Any help is appreciated

Link to comment
Share on other sites

  • 2 years later...
  • 1 month later...
Look in address_book_process.php your looking for post_code

 

What exactly am I looking to change? I moved

 

$postcode = tep_db_prepare_input($HTTP_POST_VARS['postcode']);

 

to after the state, but it doesn't seem to change the address book format (or anything). Is there something else I need to change?

Link to comment
Share on other sites

  • 3 months later...
What exactly am I looking to change? I moved

 

$postcode = tep_db_prepare_input($HTTP_POST_VARS['postcode']);

 

to after the state, but it doesn't seem to change the address book format (or anything). Is there something else I need to change?

Hi,

 

Has anyone been able to figure this one out yet? I am still in need of a fix. I have done all the same as already mentioned as well as a few other steps with no success. Any help would be much appreciated.

 

Thanks in advance!

Link to comment
Share on other sites

  • 6 months later...

There is another file includes\modules\address_book_details.php

 

That is where the layout is stored.

 

 

Hi,

 

Has anyone been able to figure this one out yet? I am still in need of a fix. I have done all the same as already mentioned as well as a few other steps with no success. Any help would be much appreciated.

 

Thanks in advance!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...