Import variant data edit

How to configure and adapt Aimeos based shops as developer
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
traiyani75
Advanced
Posts: 114
Joined: 08 Nov 2019, 11:56

Import variant data edit

Post by traiyani75 » 12 Dec 2020, 07:21

Hello,

We are trying to import product data with variants. And we followed the way which mentioned on aimeos documentations. It is working very nice as well.
But, we need to do some edit on importing stuff, which will make our work more easy and simple.

As mentioned into documentation, If we need to add multiple variant for selections product, then we need to create new column for every variant products. Based on that if we have to create 50-60 columns if we have multiple variant products.

I have attached sample CSV file here. In that if you see variants are starts from 272, 273 column number.

can we assign parent product to child product(like define selection product code with article product) instead of parent to child products(define article product codes to select product as array )?

or

Can we add all variants in comma separated way and handle it from product's Csv processor file

Thanks in advance.

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

Re: Import variant data edit

Post by aimeos » 14 Dec 2020, 10:06

You can already add several variant product codes to one field using a newline as separator. The example file contains an example for that now: https://aimeos.org/docs/latest/cronjobs ... est-import
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

traiyani75
Advanced
Posts: 114
Joined: 08 Nov 2019, 11:56

Re: Import variant data edit

Post by traiyani75 » 15 Dec 2020, 09:47

Aha, Great thanks. Is this new line character applied for all other fields, like for attributes, texts and media?

Thanks in advance

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

Re: Import variant data edit

Post by aimeos » 15 Dec 2020, 10:47

Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

traiyani75
Advanced
Posts: 114
Joined: 08 Nov 2019, 11:56

Re: Import variant data edit

Post by traiyani75 » 20 Jan 2021, 08:27

Hello, Thanks for the help. It is good now.

Now, we are facing new issue while importing. Like we are adding products with attributes, properties, text, media and catalog details. In that, if attributes are not added into admin then it is creating new attributes into admin as well.

But, We want to create attributes along with text too. Right now, It is creating attributes with type, code and label only. But, we need to add english and arabic text values as well like we are doing for product texts.

How do we parse it, and handle into csv file?

Thanks

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

Re: Import variant data edit

Post by aimeos » 21 Jan 2021, 09:30

Use the attribute CSV import to add the missing information:
https://github.com/aimeos/ai-controller ... andard.php
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply