Siirry sisältöön
Menu
Tämä kysymys on merkitty
2 Vastaukset
2426 Näkymät

Hi,

I have many categories (~350) with a max depth of 8 levels in the arborescence.

I want to export them and to be able to re-import them (for recreating them in a another DB, or copying them as PoS categories).

I cannot make it work. I tried :

  1. import with fields `name` and `parent` mapped to "Mother Category". It gives an error, when there is `/` in the parent name, it cannot match it.
  2. same as 1), but i did it in several steps by level of depth, in order parents are previously created. First file for the root, second file for the 2th level, etc. The result is the same when i reached 3rd file.

When I export with the `import compatible` checked, the generated name for the parent is `parent_id/name`, but when i import back, the auto-matching links it to the (vague) field "Mother category", and i cannot find the exact field that i want.

I really need to do this. I cannot spend hours and hours manually importing this again (which is btw very error-prone).

Thanks for your help!

Avatar
Hylkää
Tekijä Paras vastaus

Ok i found it!!

  1. export internal categories with id, parent_id/id, name.
  2. search & replace `cat` with `pos_cat` in id and parent_id/id columns (just to use others external IDs).
  3. Import with auto-match.

It works with only one step import.



Avatar
Hylkää
Paras vastaus

Hi,

Is there still no way to import this in 1 step? I need to import 250 categories up to 5 levels deep in a new (empty) database.

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
maalisk. 23
1923
0
kesäk. 25
1436
1
kesäk. 23
2159