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()
12281228 'linked_product_id ' => $ linkedId ,
12291229 'link_type_id ' => $ linkId ,
12301230 ];
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 ++;
12391231 }
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 ++;
12401240 }
12411241 }
12421242 }
You can’t perform that action at this time.
0 commit comments