I’ve written a conversion filter to go from the exported Excel files back to XML for import (updating in Excel is easier than XML as the XML elements aren’t exported if they are blank!), but I’m struggling to figure out how to create the arrays required for multi-select fields.
Normally we could do something like:
$custom['somefield'] = array('id' => $somedata);
But the expectation of the XML script is that each tag is inside it’s own element:
<test_tags> <item> <id>0</id> </item> <item> <id>500</id> </item> </test_tags>
I have the ID’s figured out and mapped, so all that’s missing is the array structure. I’d greatly appreciate your help on this one