Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In address selection, Hong Kong is missing a region for Kowloon #477

Closed
bugfolder opened this issue Jan 11, 2024 · 1 comment · Fixed by #478
Closed

In address selection, Hong Kong is missing a region for Kowloon #477

bugfolder opened this issue Jan 11, 2024 · 1 comment · Fixed by #478

Comments

@bugfolder
Copy link
Collaborator

In the address selection for shipping, billing addresses, Hong Kong region is missing the district of Kowloon, which causes problems. Details are in this forum post.

@bugfolder bugfolder self-assigned this Jan 11, 2024
@bugfolder
Copy link
Collaborator Author

On the topic of the zone code: while the country codes are ISO 2-letter and ISO 3-letter, zone codes in Ubercart are all over the place when it comes to length. For example, Australia has a mix of 2- and 3-letter codes:

  $zones = array(
    array(36, 'NSW', 'New South Wales'),
    array(36, 'QLD', 'Queensland'),
    array(36, 'SA', 'South Australia'),
    array(36, 'TAS', 'Tasmania'),
    array(36, 'VIC', 'Victoria'),
    array(36, 'WA', 'Western Australia'),
    array(36, 'NT', 'Northern Territory'),
    array(36, 'ACT', 'Australian Capital Territory'),
  );

From the forum post:

Or it is going to be KL when you consider the Region abbreviations:
Hong Kong Island (HK), Kowloon (KLN), and the New Territories (NT).

We can use KLN for Kowloon, if that's the preferred abbreviation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant