stevel
4-21-04, 07:01 PM
I just wrote my first osCommerce contribution: Country-State Selector. It addresses one of the most common gripes I have seen regarding osCommerce.
The Country-State Selector contribution provides the following enhancements to the Create Account and Address Book features of osCommerce:
- When the customer first views the Create Account or Add Address Book Entry form, a default country is pre-selected
- If the default country has zones (states, provinces, etc.), a drop-down list for the zones is automatically displayed; if no zones are in the database, a normal text input field is shown instead
- If the customer changes the country, the form refreshes and the state field is updated according to the new country; any entries in other fields are preserved
http://www.oscommerce.com/community/contributions,2028
The Country-State Selector contribution provides the following enhancements to the Create Account and Address Book features of osCommerce:
- When the customer first views the Create Account or Add Address Book Entry form, a default country is pre-selected
- If the default country has zones (states, provinces, etc.), a drop-down list for the zones is automatically displayed; if no zones are in the database, a normal text input field is shown instead
- If the customer changes the country, the form refreshes and the state field is updated according to the new country; any entries in other fields are preserved
http://www.oscommerce.com/community/contributions,2028