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

TR - September 2, 2008 - 02:20
Project:Ubercart
Version:5.x-1.5
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:closed
Description

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.

AttachmentSize
uc_store.patch1.81 KB

#1

alanburke - October 24, 2008 - 15:34

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

rszrama - October 24, 2008 - 21:14
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

Anonymous (not verified) - November 7, 2008 - 21:21
Status:fixed» closed

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

#4

holeepassion - February 8, 2009 - 01:21

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

thanks

#5

rszrama - February 8, 2009 - 02:45

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

 
 

Drupal is a registered trademark of Dries Buytaert.