BaileyBoy Posted January 10, 2007 Posted January 10, 2007 Hi: As a default, whenever a customer creates a new account on my store the ZIP CODE field is just below the STREET ADDRESS field - it should be below the STATE/PROVINCE field. What ends up happening is the customer puts their apt. # in that field because that's what U.S. customers a wired to do. Then they get error messages at checkout and don't know why. Is there and easy fix to drop the ZIP CODE field below the STATE/PROVINCE field? It would solve so many headaches (and refunds for overcharges). Thanks a bunch, Tony
wheeloftime Posted January 10, 2007 Posted January 10, 2007 Hi: As a default, whenever a customer creates a new account on my store the ZIP CODE field is just below the STREET ADDRESS field - it should be below the STATE/PROVINCE field. What ends up happening is the customer puts their apt. # in that field because that's what U.S. customers a wired to do. Then they get error messages at checkout and don't know why. Is there and easy fix to drop the ZIP CODE field below the STATE/PROVINCE field? It would solve so many headaches (and refunds for overcharges). Thanks a bunch, Tony First, the zip code field is only right underneath the street address if you have disabled the suburb field within your admin->configuration->customer details (just a remark for those who might be confused by this) As for your question: you can change the order of display by amending your (catalog)/create_account.php Look for: <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> and move that to right above: <tr> <td class="main"><?php echo ENTRY_COUNTRY; ?></td> <td class="main"><?php echo tep_get_country_list('country') . ' ' . (tep_not_null(ENTRY_COUNTRY_TEXT) ? '<span class="inputRequirement">' . ENTRY_COUNTRY_TEXT . '</span>': ''); ?></td> </tr> so it looks like: <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_COUNTRY; ?></td> <td class="main"><?php echo tep_get_country_list('country') . ' ' . (tep_not_null(ENTRY_COUNTRY_TEXT) ? '<span class="inputRequirement">' . ENTRY_COUNTRY_TEXT . '</span>': ''); ?></td> </tr> That should be all.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.