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()
89
89
foreach ($ associatedSkusAndQtyPairs as $ associatedSkuAndQty ) {
90
90
++$ position ;
91
91
$ 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 ;
93
93
if (isset ($ newSku [$ associatedSku ])) {
94
94
$ linkedProductId = $ newSku [$ associatedSku ][$ this ->getProductEntityIdentifierField ()];
95
95
} elseif (isset ($ oldSku [$ associatedSku ])) {
@@ -99,7 +99,7 @@ public function saveData()
99
99
}
100
100
$ scope = $ this ->_entityModel ->getRowScope ($ rowData );
101
101
if (Product::SCOPE_DEFAULT == $ scope ) {
102
- $ productData = $ newSku [$ rowData [Product::COL_SKU ]];
102
+ $ productData = $ newSku [strtolower ( $ rowData [Product::COL_SKU ]) ];
103
103
} else {
104
104
$ colAttrSet = Product::COL_ATTR_SET ;
105
105
$ rowData [$ colAttrSet ] = $ productData ['attr_set_code ' ];
You can’t perform that action at this time.
0 commit comments