PDA

View Full Version : Advanced Address Management for osCommerce 2.3



michael_s
06-15-2013, 04:17 PM
This update adds the postal code validations posted by fulluvscents (http://addons.oscommerce.com/info/8346) with a couple of corrections. This builds on the validation I included for the USA and Canada but now allows for people in countries that do not use postal codes to leave the postal code blank while ensuring that postal codes entered for countries that do use them are in the correct format. To this I've also added a field that indicates whether the country requires a state or province or not. The stock osCommerce install only allows you to turn states on or off for every country in the database. This update, when states are turned on, only requires a state/province entry if the country itself requires a state or province to be used. This update also changes the indicator for required or optional on the state and postal code fields as appropriate for the country selected in the pull down. I've also added ten additional address formats to the five included with osCommerce so that every country will now have the address displayed in a manner that it appropriate for that country. The mixed case functions have been changed to the multibyte versions of the functions so that they will be fully compatible with UTF-8 characters that don't fall within the standard ASCII range.

Full install enclosed.

More... (http://addons.oscommerce.com/info/8756)