Magento – CSV Import: Simple Products not linked to Configurable Product

ce-1.9.1.0configurable-productcsvimportsimple-product

I'm importing Configurable products using the Import/Export tool but can't get the simple products to be associated with the configurable product.

The CSV looks like this1.

_type,        _super_attribute_code, _super_products_sku, sku,     style,...
configurable, style,                 ,                    Conf1,   ,
simple,       ,                      Conf1,               Simple1, Style1
simple,       ,                      Conf1,               Simple2, Style1

The 3 products are correctly created but not associated.

Is this the correct way to use the _super columns? Is there something I've missed?


1: White-space is added for readability

Best Answer

The issue is the order. You need to add simple products first, then configurable products in excel.

_type,        _super_attribute_code, _super_products_sku, sku,     style,...
simple,       ,                      Conf1,               Simple1, Style1
simple,       ,                      Conf1,               Simple2, Style1
configurable, style,                 ,                    Conf1,   ,
Related Topic