Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Moving Registration Form Fields


caroofikus

Recommended Posts

Posted

I am trying to move the "post code" form field to below the state field, but can find no way of doing it. I would also like to change that field to read "zip code". I have tried to change the create_account file, but still have no success. Any suggestions?

Posted

1 .Find this 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>

 

then cut it.

 

2. find this code again.

 

 if (tep_not_null(ENTRY_STATE_TEXT)) echo ' <span class="inputRequirement">' . ENTRY_STATE_TEXT;
?>
			</td>
		  </tr>
<?php
 }
?>

 

below on to that code, paste the cutted code from number 1.

 

Hope it helps.

Archived

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

×
×
  • Create New...