Page 2 of 2

Re: TSConfig CSV Import Product

Posted: 08 Mar 2016, 13:04
by mueironshark
Works fine ! ;)
There is just an little problem with the description texts. I set the languid in the text part of the config but only the short description get the 'flag' for the language and the description is for all. How can i resolve this?

Re: TSConfig CSV Import Product

Posted: 08 Mar 2016, 15:29
by aimeos
In the import file, language IDs are necessary for each text type you want to import and you have to repeat the language ID column before each text. Thus, it's possible to import texts for several languages in one file.

Re: TSConfig CSV Import Product

Posted: 08 Mar 2016, 16:04
by mueironshark
The config looks so:
text {
16 = text.languageid
4 = text.type
5 = text.content
16 = text.languageid
6 = text.type
7 = text.content
}
that only works for the short description.

Re: TSConfig CSV Import Product

Posted: 08 Mar 2016, 16:59
by aimeos
That's true because the fields gets unset after first usage to know which ones has been imported or not:
https://github.com/aimeos/aimeos-core/b ... e.php#L124

Working on a temporary array would fix this. Can you please create a pull request so it will be possible in the future?