Skip to content

Commit ef885ce

Browse files
ENGCOM-3003: [Backport] Fix import grouped products #12853 #18097
- Merge Pull Request #18097 from getjohn/magento2:2.2-develop - Merged commits: 1. f00ce93
2 parents 50a4da0 + f00ce93 commit ef885ce

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/GroupedImportExport/Model/Import/Product/Type

1 file changed

+1
-1
lines changed

app/code/Magento/GroupedImportExport/Model/Import/Product/Type/Grouped.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public function saveData()
8989
foreach ($associatedSkusAndQtyPairs as $associatedSkuAndQty) {
9090
++$position;
9191
$associatedSkuAndQty = explode(self::SKU_QTY_DELIMITER, $associatedSkuAndQty);
92-
$associatedSku = isset($associatedSkuAndQty[0]) ? trim($associatedSkuAndQty[0]) : null;
92+
$associatedSku = isset($associatedSkuAndQty[0]) ? strtolower(trim($associatedSkuAndQty[0])) : null;
9393
if (isset($newSku[$associatedSku])) {
9494
$linkedProductId = $newSku[$associatedSku][$this->getProductEntityIdentifierField()];
9595
} elseif (isset($oldSku[$associatedSku])) {

0 commit comments

Comments
 (0)