Repository navigation
Canary Islands IC to defaultCountries #17664
Pierrick74
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
We run a Medusa v2 storefront that serves country-specific locales, including es-IC for the Canary Islands. IC is not part of defaultCountries (@medusajs/utils), so it can't be added to a region.
Requests with country_code=IC therefore resolve to no region at all.
We know IC is an exceptionally reserved alpha-2 code in ISO 3166-1, not an officially assigned one:
- it was reserved at the request of the World Customs Organization, to reflect the islands' specific customs status;
- it has no alpha-3 or numeric equivalent, which doesn't fit the current defaultCountries shape;
- administratively, the Canary Islands are part of Spain, with the subdivision code ES-CN (ISO 3166-2:ES).
Why it matters
For commerce, the Canary Islands behave differently from mainland Spain:
- they are outside the EU VAT area (IGIC applies instead of VAT);
- shipments go through customs formalities;
- merchants often want a different catalog or availability than for mainland Spain.
Modeling them as plain ES makes these differences hard to express.
Questions
1. Are there plans to add exceptionally reserved codes such as IC to defaultCountries?
2. If not, is there a supported way to restrict catalog or availability by province (e.g. es-cn), not only by country?
Thanks for any guidance!
All reactions