Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
7134 Zobrazení

Hello,

We imported our product data already. But we have not imported the variants yet. How can we update the existintg products but creating variants? 

What I did:

I created  an  attribute :  "Attribute test: (I tried with  variant creation mode = Dynamically or Instant) with  2  values:  "Value 1" and "Value 2"

1/ Go to Export Variant > Export data (with internal ID, external ID, name)

2/ As the product does not have any variant, I created new lines in the  CSV /  Excel  file  with the following columns and values:

- Name = PRODUCTNAME

- product_template_attribute_value_ids =  Attribute test: Value 2

3/ To import: Product variant > Favorites > Import > Upload file

--> But when I upload I get this error message: 

No matching record found for name 'Attribute test: Value 2' in field 'Attribute Values' at row 2 ( PRODUCTNAME )

Can you please help?  Thank you.

Avatar
Zrušit
Nejlepší odpověď

Hello,

First, you can export the product you needed. So you will get the External ID of the product.

id
name
attribute_line_ids/attribute_id
attribute_line_ids/value_ids
__export__.product_template_41565_b5dbe71f
1 Application Body Fluid Clean-Up Spill Kit Refill 717
Type
S2,S3
Like the above table, "id" is the External Id of the product.

"name" is the Product name

"attribute_line_ids/attribute_id" is the Variant Type.

"attribute_line_ids/value_ids" is the Variant Values. If you have multiple values, then give them separated by a comma.

You can do this on the the product.template

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
říj 23
4035
0
kvě 16
4753
2
kvě 24
5621
1
čvc 23
2112
1
dub 23
7439