File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
app/code/Magento/CatalogImportExport/Model/Import Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -1230,15 +1230,15 @@ protected function _saveLinks()
1230
1230
'linked_product_id ' => $ linkedId ,
1231
1231
'link_type_id ' => $ linkId ,
1232
1232
];
1233
- if (!empty ($ linkPositions [$ linkedKey ])) {
1234
- $ positionRows [] = [
1235
- 'link_id ' => $ productLinkKeys [$ linkKey ],
1236
- 'product_link_attribute_id ' => $ positionAttrId [$ linkId ],
1237
- 'value ' => $ linkPositions [$ linkedKey ],
1238
- ];
1239
- }
1240
- $ nextLinkId ++;
1241
1233
}
1234
+ if (!empty ($ linkPositions [$ linkedKey ])) {
1235
+ $ positionRows [] = [
1236
+ 'link_id ' => $ productLinkKeys [$ linkKey ],
1237
+ 'product_link_attribute_id ' => $ positionAttrId [$ linkId ],
1238
+ 'value ' => $ linkPositions [$ linkedKey ],
1239
+ ];
1240
+ }
1241
+ $ nextLinkId ++;
1242
1242
}
1243
1243
}
1244
1244
}
You can’t perform that action at this time.
0 commit comments