oscommercenewbie Posted October 11, 2005 Posted October 11, 2005 Does someone already have a create_account.php page that would like to share that has the address in the following order: Street Address City State Post Code and display County as United States - as standard text not a drop down box? We only ship in the US. Your assistance with this would be most appreciated.
jasper98 Posted October 11, 2005 Posted October 11, 2005 To place zip code after state just edit your catalog/create_account.php file like so: Find this and CUT: <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 PASTE it below like this: <?php } ?> <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> </table></td>
oscommercenewbie Posted October 12, 2005 Author Posted October 12, 2005 Hi Steve, Worked like a charm. Any ideas on what I should change to make the country display as United States without a dropbox? <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> </table></td>
Recommended Posts
Archived
This topic is now archived and is closed to further replies.