nicklestud Posted September 27, 2005 Posted September 27, 2005 Hello, I am trying to move the "Post Code:" input field to be below the "state" input field when customers edit or create a new account. It is confusing for a lot of my customers since here in the state the zip-code often comes after the state. What file do I edit in order to change the "post code:" field to show below the "city" and "state" input field when costomers choose to create or edit their account? Thank you in advance for your help.
Guest Posted September 27, 2005 Posted September 27, 2005 I think you will have to rearrange the html rows in 3 files catalog\create_account.php catalog\includes\modules\address_book_details.php catalog\includes\modules\checkout_new_address.php
Guest Posted September 27, 2005 Posted September 27, 2005 Do it in the create_account.php in the html section: <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> <tr> <td class="main"><?php echo ENTRY_CITY; ?></td> <td class="main"><?php echo tep_draw_input_field('city') . ' ' . (tep_not_null(ENTRY_CITY_TEXT) ? '<span class="inputRequirement">' . ENTRY_CITY_TEXT . '</span>': ''); ?></td> </tr> <?php if (ACCOUNT_STATE == 'true') { ?> <tr> <td class="main"><?php echo ENTRY_STATE; ?></td> <td class="main"> <?php if ($process == true) { if ($entry_state_has_zones == true) { $zones_array = array(); $zones_query = tep_db_query("select zone_name from " . TABLE_ZONES . " where zone_country_id = '" . (int)$country . "' order by zone_name"); while ($zones_values = tep_db_fetch_array($zones_query)) { $zones_array[] = array('id' => $zones_values['zone_name'], 'text' => $zones_values['zone_name']); } echo tep_draw_pull_down_menu('state', $zones_array); } else { echo tep_draw_input_field('state'); } } else { echo tep_draw_input_field('state'); } if (tep_not_null(ENTRY_STATE_TEXT)) echo ' <span class="inputRequirement">' . ENTRY_STATE_TEXT; ?> </td> </tr> Just switch them (make sure to include the entire blocks) :P note:( missed the other two files in this :( )
Recommended Posts
Archived
This topic is now archived and is closed to further replies.