Posted on 10/06/2024 08:48:33
Hi Stephen,
In such situations, I usually create a family using the interface, and then export the data to see how they relate to each other.
If it is a simple setup, you should look into: EcomProducts, EcomVariantGroups, EcomVariantOptions, EcomVariantGroupProductRelation.
Based on this data, you can decide how you will import it.
Keep in mind that DW will automatically generate VariantID and VariantGroupIds. If you have predetermined values, you can supply the IDs as long as they are just alphanumeric strings. Any special characters or spaces could mess up the data structure. In your example,VariantOptionIds would be AA, AB, FFG. If it is possible, I suggest though to keep a consistent string length of the VarianOptionIDs.
Also, keep in mind that Variants of a Model are connected using the same ProductID which in this case would be your ModelId (6210 in your example).
I hope this helps.
Adrian