Automatical creation of property types in CSV import

Questions around the TYPO3 integration and plugins
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!
boettner
Advanced
Posts: 136
Joined: 09 Feb 2015, 17:49

Automatical creation of property types in CSV import

Post by boettner » 17 Jan 2020, 09:00

Hi all,

if I import attributes like so

Code: Select all

...
                attribute {
                    50 = attribute.type
                    51 = attribute.code
                    52 = attribute.label
                    53 = attribute position
                }
...                
Attributes are being automatically created if the type code doesn´t yet exist. This seems not to be the case in a similar manner for properties:

Code: Select all

...
                property {
                    52 = product.property.type
                    53 = product.property.value
                    54 = product.property.languageid

                }
...                
Is this true or am I overlooking something or have an error in my CSV?

Best
Robert.

User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: Automatical creation of property types in CSV import

Post by aimeos » 17 Jan 2020, 09:47

According to the code it should be created:
https://github.com/aimeos/ai-controller ... rd.php#L62
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

boettner
Advanced
Posts: 136
Joined: 09 Feb 2015, 17:49

Re: Automatical creation of property types in CSV import

Post by boettner » 17 Jan 2020, 10:31

Ah tank you. Seems it´s time for an upgrade. We´re still on 18.10.9 with that installation.

User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: Automatical creation of property types in CSV import

Post by aimeos » 17 Jan 2020, 11:00

OK, that's not available in 18.10
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply