on the one page checkout there some code which checks if the counrty requires a post code.
Code: Select all
//SEE WHETHER POSTAL CODE IS REQUIRED
string[] countries = Store.GetCachedSettings().PostalCodeCountries.Split(",".ToCharArray());
PostalCodeValidator.Enabled = (Array.IndexOf(countries, countryCode) > -1);
The country code for the uk is GB, however it seems to be comparing it against a string of "UK"
any help greatly appreciated.
Thanks.
rob.