Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Simple Coding question


jrdaniels0

Recommended Posts

Hello,

 

How would I manipulate the code in create_account.php to show the Zip Code after the state instead of before the city...

 

Right now the boxes are in this order

 

address

zip code

city

state

 

I would like them to be in this order...

 

address

city

state

zip

 

thanks in advance for your help.

Link to comment
Share on other sites

Hello,

 

How would I manipulate the code in create_account.php to show the Zip Code after the state instead of before the city...

 

Right now the boxes are in this order

 

address

zip code

city

state

 

I would like them to be in this order...

 

address

city

state

zip

 

thanks in advance for your help.

 

 

In your create_account.php you will find the following lines for the post code

 

 

<tr>

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

<td class="main"><?php echo tep_draw_input_field('postcode') . ' ' . (tep_not_null(ENTRY_POST_CODE_TEXT) ? '<span class="inputRequirement">' . ENTRY_POST_CODE_TEXT . '</span>': ''); ?></td>

</tr>

 

 

You can see that all the fields are set up the same way starting with <tr> and ending with</tr> Just move it to where you want it to be.

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...