Multiple Categories Import

Hi,

Can someone tell me why I need Secondary categories if I still can import them within Category?

The only difference, that if I import multiple categories in category field, the main one (default category) has to be last in the list.

For example

Category2; Category3, CategoryMain

Or import with the help of secondary categories:

Category

CategoryMain

Secondary category

Category2, Category3

In both cases result is the same.

Looks like you found undocumented feature

I think the idea of Category was to make sure that one default category is chosen, that is why the last one is always comes as default.

By the way, is it obligatory to have space after each semicolon?

I think the idea of Category was to make sure that one default category is chosen, that is why the last one is always comes as default.

By the way, is it obligatory to have space after each semicolon?

No, the delimiter is defined without space in the code

$set_delimiter = ';';

Ok, thanks.

That means the space does not really matter. Although if you import without space and export back you will have the categories again with space after each semicolon.

Ok, thanks.

That means the space does not really matter. Although if you import without space and export back you will have the categories again with space after each semicolon.

hm, you are right. Delimiter for export contains space

http://prntscr.com/f08t5q