avstudnitz / AvS_FastSimpleImport

Wrapper for Magento ImportExport functionality, which imports products and customers from arrays
306 stars 146 forks source link

Product Category Import with nested arrays not working #219

Open aterjung opened 9 years ago

aterjung commented 9 years ago

Hi,

if i import category assignments with nested arrays like: '_category'=> array('test1','test2')
or with ids '_category'=> array(1,2)

i'll get a "Category does not exists" error. If i split the import into to rows, no error is thrown and the import is successful.

Is there anything known about this?

thanks in advance

Aike Terjung

Nesse commented 9 years ago

I'm having the same problem. I'm using the develop branch together with HO_Import.

paales commented 9 years ago

@Nesse Do not use nested arrays with Ho_Import, Ho_Import handles all the file formatting.

Nesse commented 9 years ago

@paales So it's not necessary to split my categories?

"Voetbal/Shirts lange mouw***Sportkleding & accessoires/Kleding/Shirts/Lange mouwen"

<_category helper="ho_import/import::getFieldSplit">
     <field field="categories" />
      <split>***</split>
</_category>

image

image

paales commented 9 years ago

Yes that is necessary, but you shouldn't use the nested arrays configuration is AvS_FastSimpleImport. Lets continue the discussion here https://github.com/ho-nl/Ho_Import/issues/59

Could you please create a new issue https://github.com/ho-nl/Ho_Import/issues