Typo3 CSV Import: Attribute Text and column double usage
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
-
- Posts: 5
- Joined: 01 Feb 2018, 16:14
Typo3 CSV Import: Attribute Text and column double usage
Hello,
using: Typo3 8.7.17 and Aimeos 18.7.0
is there a possibility to import attributes including their texts via the Scheduler?
My bet would've been the product import task but it doesn't add the attribute texts.
Something like:
or an external attribute importer would be perfect!
And is there a possibility to use columns of a CSV twice? e.g. I wan't to add two texts to a product: one short description in english and one long description in english.
Is there a possibility to use the column for the same language twice as id like:
This would make the CSV file much smaller, cleaner and easier to adapt !
Thank you for your help.
Best regards
using: Typo3 8.7.17 and Aimeos 18.7.0
is there a possibility to import attributes including their texts via the Scheduler?
My bet would've been the product import task but it doesn't add the attribute texts.
Something like:
Code: Select all
0=attribute.text.languageid
1=attribute.text.type
2=attribute.text.content
And is there a possibility to use columns of a CSV twice? e.g. I wan't to add two texts to a product: one short description in english and one long description in english.
Is there a possibility to use the column for the same language twice as id like:
Code: Select all
0=text.languageid #for english
1=text.type #short description
2=text.content
##Add another Text
0=text.languageid #use english once again
3=text.type #this time for a long description
4=text.content
Thank you for your help.
Best regards
Re: Typo3 CSV Import: Attribute Text and column double usage
There's no import for attribute texts/images/properties yet and yes, an attribute importer would by niceMathlin Comos wrote: is there a possibility to import attributes including their texts via the Scheduler?
or an external attribute importer would be perfect!

Yes, that might work as you expect.Mathlin Comos wrote: And is there a possibility to use columns of a CSV twice? e.g. I wan't to add two texts to a product: one short description in english and one long description in english.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,

-
- Posts: 5
- Joined: 01 Feb 2018, 16:14
Re: Typo3 CSV Import: Attribute Text and column double usage
Hey,
thank you for your answer once again !
As soon as I try to map a column twice it imports nothing for this category (here languageid). Neither for the first text or for the second one
e.g.
CSV FILE:
Typoscript mapping
With this config both texts won't have a language defined.
Mapping the languageid only one time (ligning out the mapping for the long description) will define the language for the first text; but not for the second one.
A solution to this would be including another column with the languageid for the second text, but as I already mentioned, the other way around would be much better and cleaner with a smaller CSV !
Best regards
thank you for your answer once again !
Sadly, this does not work for me...aimeos wrote: Yes, that might work as you expect.
As soon as I try to map a column twice it imports nothing for this category (here languageid). Neither for the first text or for the second one
e.g.
CSV FILE:
Code: Select all
"ProductCode","ProductLabel","ProductType","ProductStatus","TextType_1","Language","TextContent_1","TextType_2","TextContent_2"
"TestCSVImport","CSVImported","default",1,"short","en","This is short.","long","But this is a long description in english!"
Code: Select all
item {
0 = product.code
1= product.label
2 = product.type
3 = product.status
}
text {
#First text: short description
4= text.type
5= text.languageid
6 = text.content
#long description with the same language as before
7 = text.type
5=text.languageid #use english once again as a language
8 = text.content
}
Mapping the languageid only one time (ligning out the mapping for the long description) will define the language for the first text; but not for the second one.
A solution to this would be including another column with the languageid for the second text, but as I already mentioned, the other way around would be much better and cleaner with a smaller CSV !
Best regards
Re: Typo3 CSV Import: Attribute Text and column double usage
Yes, you are right. The column content is removed after being used the first time so it won't be available any more later on.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,
