We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent add2976 commit 6e12c33Copy full SHA for 6e12c33
app/code/Magento/CatalogImportExport/Model/Import/Product.php
@@ -1435,10 +1435,12 @@ protected function _saveProducts()
1435
}
1436
1437
// 3. Categories phase
1438
+ if (!array_key_exists($rowSku, $this->categoriesCache)) {
1439
+ $this->categoriesCache[$rowSku] = [];
1440
+ }
1441
$categoryIds = $this->processRowCategories($rowData);
- $this->categoriesCache[$rowData[Product::COL_SKU]] = [];
1442
foreach ($categoryIds as $id) {
- $this->categoriesCache[$rowData[Product::COL_SKU]][$id] = true;
1443
+ $this->categoriesCache[$rowSku][$id] = true;
1444
1445
1446
// 4.1. Tier prices phase
0 commit comments