Needs work
Project:
UberDrupal
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
22 Feb 2009 at 06:23 UTC
Updated:
25 Oct 2010 at 14:57 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
rszrama commentedActually, I updated the country import API func to not display any messages and simply return TRUE or FALSE to indicate the success of an import. UberDrupal has been modified to use uc_country_import() to avoid any sort of submit messages, but we should still consider allowing the user to specify his countries instead of installing them all at once.
Comment #2
dman commentedYeah this is a problem.
Small business setups (which an install profile is appropriate for compared to multinationals) are pretty likely to just ship or provide services locally.
Now I've got 200 buttons to press just to turn them all off.
... Ah, I see that maybe they were preloaded just to support the storefront setup form. Those country defs needed to be preloaded for that to even work.
Chicken & egg.
Hm. Can we DISABLE all those extras later?
Comment #3
dman commentedChoose region before adding store location
... and we can choose to only import relevant country options.
Here's apatch that adds that extra step. It's a bore that we need an extra step, but for the store location details on the next page to make sense, it has to be inserted there.
For now it does not make the effort to remove the default (US) zone while adding new ones, but at least it's not adding Andorra + 113 others etc unless you want it.
Comment #4
thill_ commentedThis is an old issue but I will review before the "final" 1.0 is released.
Comment #5
thill_ commentedI am getting the following if I select United States because it is already installed.
I am not sure if this should hold up this feature, or if there is a good work around.