Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Changing Zip Code Location


lightersdirect

Recommended Posts

  • 2 months later...

Look for the following line in create_accout.php

 

<td class="main"><?php echo ENTRY_POST_CODE; ?></td>

 

 

move the <tr> section of code with that line below the State <tr> a few lines below.

 

 

 

ALSO, and a little more tricky to figure out -- you should make a similar change to the

 

catalog\includes\modules\checkout_new_address.php file (this is used for editing payment and delivery addresses during the checkout process).

 

 

2) You may also want to consider defaulting the country drop down list to your most usual country ( US in our case). Note that a country code "223" is inserted into the following line in the country <tr> section of the above files just below the zip code changes.

 

 

 

<td class="main"><?php echo tep_get_country_list('country',223) . ' ' . (tep_not_null(ENTRY_COUNTRY_TEXT) ? '<span class="inputRequirement">' . ENTRY_COUNTRY_TEXT . '</span>': ''); ?></td>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...