We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec05ff6 commit d629a1eCopy full SHA for d629a1e
app/code/Magento/CatalogImportExport/Model/Import/Product/StatusProcessor.php
@@ -101,7 +101,8 @@ public function loadOldStatus(array $linkIdBySku): void
101
$select = $connection->select()
102
->from($this->getAttribute()->getBackend()->getTable())
103
->columns([$linkId, 'store_id', 'value'])
104
- ->where(sprintf('%s IN (?)', $linkId), array_values($linkIdBySku));
+ ->where(sprintf('%s IN (?)', $linkId), array_values($linkIdBySku))
105
+ ->where('attribute_id = ?', $this->getAttribute()->getId());
106
$skuByLinkId = array_flip($linkIdBySku);
107
108
foreach ($connection->fetchAll($select) as $item) {
0 commit comments