I’m successfully import from a CSV file a massive number of SIMPLE products. Than I created the CONFIGURABLE products and assigned the simples by $configurableproduct_load->setCanSaveConfigurableAttributes(true); $configurableproduct_load->getTypeInstance()->setUsedProductAttributeIds(array(258,267,178), $configurableproduct_load); $configurableAttributesData = $configurableproduct_load->getTypeInstance()->getConfigurableAttributesAsArray($configurableproduct_load); $configurableproduct_load->setConfigurableAttributesData($configurableAttributesData); $configurableproduct_load->setAssociatedProductIds($associatedProductIds); $configurableproduct_load->save(); where 258, 267, 178 are the attributes id in the sort that I want. However, Magento create […]