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 @@ -1228,15 +1228,15 @@ protected function _saveLinks()
1228
1228
'linked_product_id ' => $ linkedId ,
1229
1229
'link_type_id ' => $ linkId ,
1230
1230
];
1231
- if (!empty ($ linkPositions [$ linkedKey ])) {
1232
- $ positionRows [] = [
1233
- 'link_id ' => $ productLinkKeys [$ linkKey ],
1234
- 'product_link_attribute_id ' => $ positionAttrId [$ linkId ],
1235
- 'value ' => $ linkPositions [$ linkedKey ],
1236
- ];
1237
- }
1238
- $ nextLinkId ++;
1239
1231
}
1232
+ if (!empty ($ linkPositions [$ linkedKey ])) {
1233
+ $ positionRows [] = [
1234
+ 'link_id ' => $ productLinkKeys [$ linkKey ],
1235
+ 'product_link_attribute_id ' => $ positionAttrId [$ linkId ],
1236
+ 'value ' => $ linkPositions [$ linkedKey ],
1237
+ ];
1238
+ }
1239
+ $ nextLinkId ++;
1240
1240
}
1241
1241
}
1242
1242
}
You can’t perform that action at this time.
0 commit comments