Download & Extend

Allow import of multiple .cif files instead of one at a time

Project:Ubercart
Version:5.x-1.5
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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.

AttachmentSizeStatusTest resultOperations
uc_store.patch1.81 KBIgnored: Check issue status.NoneNone

Comments

#1

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

#2

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!

#3

Status:fixed» closed (fixed)

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

#4

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

thanks

#5

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

nobody click here