This is an issue that has been raised on and off for a while: It's a pain to import .cif files one at a time, especially when you are trying to import a lot of them.

The solution is a tiny patch to allow multiple selects on the country select box (1 line) then a foreach statement to loop over the selections (1 line). Then a bunch of spaces to indent things inside the loop properly.

CommentFileSizeAuthor
uc_store.patch1.81 KBtr

Comments

alanburke’s picture

Great Work.
Thanks.
Discovered bug in some import files while uing this patch
See #310303: Function austria_update delcared in dominican_republic_214_1.cif

rszrama’s picture

Version: 5.x-1.3 » 5.x-1.5
Status: Needs review » Fixed

Committed this patch with some additional code and reworking of the removal confirm form to actually use confirm_form().

Thanks for the patch, TR!

Anonymous’s picture

Status: Fixed » Closed (fixed)

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

holeepassion’s picture

how do I actually use this patch for ubercart ???

thanks

rszrama’s picture

You don't need to. Just make sure you're running the latest version of Ubercart.

jurerickporras’s picture

from Home » Administration » Store » Configuration -> countries tab

select the countries you want to import from the multi select field

thanks