Importing grouping products and products with variants
On the previous page we presented details regarding the import of data using .csv files including importing information pertaining to simple products. However, grouping products and products with variants require additional information and we felt this should be covered in its own segment for the sake of clarity.
While you can import all types of products using the same products.csv file, you may want to consider creating a separate file for products with variants and grouping products, as that may be easier to keep track of the necessary data and avoiding mistakes.
Products with variants
We have already discussed how to create products with variants from within Ergonode and from that segment you learned, that to group simple products into a product with variants, you need to select a binding attribute. In the products.csv file, this will be reflected by the column labelled _bindings, where you will need to specify the system name of the attribute used as the binding attribute for this particular product with variants.
Another important piece of information to note is which simple products are variants connected to the product with variants. This is denoted in the column labelled _children which lists the SKUs of these simple products. The values here need to be separated by commas to conform to the format acceptable by Ergonode.
Grouping products function similarly to products with variants, however, they group products related by a theme you wish to establish. For example, this could be leather products, or winter themed products, etc.
You should already know how to create a grouping product from here, for this section, all you need to know, is that grouping products share the _children column with products with variants, where the SKUs of grouped products are listed. As with the previous example, these should be separated by commas.