MaxxPayne Posted May 27, 2009 Posted May 27, 2009 While creating an account, the default order of address fields is: Street Post Code City State Country I would like to move the Postal Code field to come after the State field. This is a more 'natural' entry order. Is there a way to do this? Thanks. PS: How do you edit the checkout_shipping_address.php and checkout_payment_address so that it also appears in this order as well? any where that the order shows up is what I am wanting to achieve.. ANY helkp would be greatlt appraeciated....
steve_s Posted May 27, 2009 Posted May 27, 2009 While creating an account, the default order of address fields is:Street Post Code City State Country I would like to move the Postal Code field to come after the State field. This is a more 'natural' entry order. Is there a way to do this? Thanks. PS: How do you edit the checkout_shipping_address.php and checkout_payment_address so that it also appears in this order as well? any where that the order shows up is what I am wanting to achieve.. ANY helkp would be greatlt appraeciated.... create_account.php find <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> change to <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> <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> the others you asked for em not sure how to do that
styloa Posted June 3, 2009 Posted June 3, 2009 You will need to edit: \catalog\includes\modules\address_book_details.php and \catalog\includes\modules\checkout_new_address.php basically all address field come in 'blocks' between <tr> and </tr> tags. To move them just copy a whole 'block' same way as steve did above. Cheers, Adam.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.