Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Questions about address format


baalwww

Recommended Posts

Posted

I cant help but notice that when a customer puts in their address, they are being asked for postcode, which comes before state. Is there somewhere where people have state AND postcode, as opposed to zipcode? I'd like to have the address look like a typical u.s. address... street, city, state, zip. I notice there are address format values...are they documented anywhere, and do they control this?

Posted

forget what I gave in my previous post... I think that document is a little out of date but I would still read it as it may give you some ideas for other stuff.

 

To change the postal code, here's what you need to look for:

 

In create_account.php and address_book_details.php look for the following code and move it around to where you want it.

 

<tr>

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

<td class="main"><?php echo tep_draw_input_field('postcode', $entry['entry_postcode']) . ' ' . (tep_not_null(ENTRY_POST_CODE_TEXT) ? '<span class="inputRequirement">' . ENTRY_POST_CODE_TEXT . '</span>': ''); ?></td>

</tr>

 

 

Hope that helps.

Shayne

Posted
forget what I gave in my previous post... I think that document is a little out of date but I would still read it as it may give you some ideas for other stuff.

 

To change the postal code, here's what you need to look for:

 

In create_account.php and address_book_details.php look for the following code and move it around to where you want it.

 

<tr>

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

<td class="main"><?php echo tep_draw_input_field('postcode', $entry['entry_postcode']) . ' ' . (tep_not_null(ENTRY_POST_CODE_TEXT) ? '<span class="inputRequirement">' . ENTRY_POST_CODE_TEXT . '</span>': ''); ?></td>

</tr>

Hope that helps.

Shayne

 

thx a million

Archived

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

×
×
  • Create New...