Hi Ubercart team,
After a bit of digging, I realised I can edit the address formatting for each country.
Thus I can get Irish addresses to display as I had expected, which means using the "Zone name" instead of "Zone code".
So I reckon this should be the default for Ireland.
A county in Ireland would always be referred to as 'Co. Meath' and not 'MEATH'.
Most of the time, its no big deal, but with Galway and Cork, for example, the county refers to both the city and the county, and a little confusion could be caused.
An address with just 'GALWAY' would be directed to the city.
Worst case scenario would be a delay in posting - it would still get to its intended destination.
I can't create a patch from here, but it just involves changing the section of the install code to
uc_set_address_format(372,
"!company\r\n!first_name !last_name\r\n!street1\r\n!street2"
."\r\n!city, !zone_name !postal_code\r\n!country_name_if");
I'm not sure should it be changed as part of a version upgrade, as that would wipe out any customisations that the user had made, correct?
Regards,
Alan
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | ireland_cif.patch | 1.49 KB | rszrama |
Comments
Comment #1
rszrama commentedThanks for the heads up. I'll get to it before the next release.
Comment #2
rszrama commentedComment #3
rszrama commentedI made this as a new version of the Ireland .cif. Thanks again for reporting it. : )
Committed via the attached patch.
Comment #4
alanburke commentedThank you, Ryan.