Guest Posted April 30, 2009 Posted April 30, 2009 Ok...really stupid question here. Is it possible to do some re-arranging with the customer sign up module so that they enter first their city, then their state is from a drop down box, then they enter their zip code and default to a particular country....ie: United States? Thanks all...... Todd
Guest Posted April 30, 2009 Posted April 30, 2009 yes :D :D I really think it would be too hard to start at the city first. How would you get on with a city such as Springfield?
Guest Posted April 30, 2009 Posted April 30, 2009 I really think it would be too hard to start at the city first. How would you get on with a city such as Springfield? To continue after my PC crash when editing the post. You have a city only within the US, and you you have a city that has the same name as other cities in other countries. How would you handle this?
Guest Posted May 5, 2009 Posted May 5, 2009 To continue after my PC crash when editing the post. You have a city only within the US, and you you have a city that has the same name as other cities in other countries. How would you handle this? I should clarify this a bit I think. The default install of OSC follows this path for a new customer regisration on the screen: First Name Last Name eMail Address Street Address Postal Code City State/Providence Country What I am wondering is if the city and state and be placed before the Postal Code and if the State can be presented in a drop down box. If a customer is in, say Montana, then this field would ideally contain MT, whereas a customer may enter "Montana" instead of simply "MT". Does that make any clearer sense? :) Thanks everyone.
BryceJr Posted May 5, 2009 Posted May 5, 2009 Stock oscommerce create_account.php find line 403-406. Select that block of code and cut/paste. <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> Move/paste that block of code AFTER line 436 if (tep_not_null(ENTRY_STATE_TEXT)) echo ' <span class="inputRequirement">' . ENTRY_STATE_TEXT; ?> </td> </tr> <--Line 436 For your dropdown state, click >>here
Recommended Posts
Archived
This topic is now archived and is closed to further replies.