Hi,

I'm working on a module that ties together Ubercart and Countries API/Regions API, to fill in some gaps in Ubercart's coverage.

I noticed that the regions provided by Regions API only seem to have abbreviations for US states, and not any of the other regions that do have codes.

I've crafted a patch using a bit of data fudging from Ubercart's zone files to provide a few more codes for regions API. Note this isn't complete, but is an improvement.

Thanks

CommentFileSizeAuthor
regions.csv_.morestatecodes.patch18.83 KBneilnz

Comments

mrfelton’s picture

Status: Needs review » Active

Thanks, a welcome improvement.
This has been committed to git.

mrfelton’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

asb’s picture

Hi,

are there any user modules (like 'cck_country') which use the Regions API?

Thanks, -asb