File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/code/Magento/GroupedImportExport/Model/Import/Product/Type Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 ])) {
@@ -99,7 +99,7 @@ public function saveData()
9999 }
100100 $ scope = $ this ->_entityModel ->getRowScope ($ rowData );
101101 if (Product::SCOPE_DEFAULT == $ scope ) {
102- $ productData = $ newSku [$ rowData [Product::COL_SKU ]];
102+ $ productData = $ newSku [strtolower ( $ rowData [Product::COL_SKU ]) ];
103103 } else {
104104 $ colAttrSet = Product::COL_ATTR_SET ;
105105 $ rowData [$ colAttrSet ] = $ productData ['attr_set_code ' ];
You can’t perform that action at this time.
0 commit comments