I'm having some problems importing custom options with the magmi datapump api. I can upload products with ease by passing the data in an array as given in magmi's example.
However when I install the Custom Options module and enable it I receive the following error.
...
$dp->beginImportSession("default","create");
// Here we define a single "simple" item, with name, sku,price,attribute_set,store,description
$item = array(
'name' => 'test a',
'sku' => 'testsku3',
'price' => '110.00',
'attribute_set' => 'Default',
'store' => 'admin',
'description' => 'ingested with Datapump API',
'meta_title' => 'test meta',
'qty' => '1',
'categories' => '2',
'weight' => '1',
'tax_class_id' => '4',
'Please enter your text:field:1:3' => ':fixed:0.5:Ref Text:35'
);
...
Error returned:
Notice: Undefined index: xxx:field:1 in /var/www/vhosts/websitename.co.uk/magmi/plugins/extra/itemprocessors/customoptions/pablo_customoptions.php on line 33
Now this error code resolves to...
...
public function getOptId($field)
{
return $this->_optids[$field];
}
...
Does anyone have an idea as to how this can be resolved?
Thanks! :)