After taking a look at how countries are handled in ubercart, and a short discussion yesterday in #drupal-ubercart, it looks like the countries interface should be redesigned.
My suggestion is that we make countries depend on the location module, and use their *much more* complete country information.
I've posted my initial findings and ideas here: http://groups.drupal.org/node/13951
What will this accomplish?
1) take the pressure off ubercart to create and maintain country and zone information
2) allow the location api to further refine postal codes, address formats, etc
3) less database tables
4) one less thing to debug =D
I'm also suggesting to the location people that the API allows the apps implementing the location module be the ones that select which countries are to be used. There could be a selection that would allow ubercart to use the site-wide country list, or be able to choose their own country. Also thought about the ability of grouping countries into certain economic or regional sections, customizable by the user. This way its easier to select groups instead of trudging through 230+ countries.



Thanks for the research, Jakob. fwiw, I totally agree that the custom integer zone_id was silly and shortsighted. It should be replaced w/ the ISO code sa you mentioned, and I suppose we can make the primary key be the numeric country code + the "zone's" ISO code.

Joined: 08/08/2007