Developer forum

Forum » Integration » Product to multiple groups import

Product to multiple groups import

Adrian Ursu
Reply

Hi, how do you import a product to several groups?
I have tried to use the format exported using eCom provider but it is not working.
Is there an example for multiple values fields?
I have tried both XML ad CSV.

Thanks,

Adrian


Replies

 
Dmitriy Benyuk
Reply
This post has been marked as an answer
Hi Adrian,

you need to have a column "Groups" in your products source file(csv/xml) where you should put GroupID's separated by comma like:
"group1,group2". Then in the activity mapping you need to map this Groups column from source to the Groups column in the destination - EcomProvider.

Kind regards,
Dmitrij

Votes for this answer: 0
 
Morten Snedker
Reply

 If I just might add:

 

If it is large-scale import I'd suggest using the Dynamicweb provider. This is less intelligent than the Ecom Provider, but faster. But then you'll have to set your relations explicitly:

 

Core tables:
EcomGroups
EcomProducts

Relational tables:
EcomShopGroupRelation (top level groups)
EcomGroupRelations (parent/child groups)
EcomGroupProductRelation (which groups does product belong to).

Use only [a-z;0-9] for your group-id's, should you choose this approach.

 


Regards /Snedker
 

 

You must be logged in to post in the forum