Skip to content

Commit 82e7cb5

Browse files
authored
ENGCOM-4277: Also populate the storesCache when importing product only on storevie… #21094
2 parents 6903a38 + 23e3a02 commit 82e7cb5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/code/Magento/CatalogUrlRewrite/Observer/AfterImportDataObserver.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,7 @@ protected function _populateForUrlGeneration($rowData)
263263
if ($this->isGlobalScope($product->getStoreId())) {
264264
$this->populateGlobalProduct($product);
265265
} else {
266+
$this->storesCache[$product->getStoreId()] = true;
266267
$this->addProductToImport($product, $product->getStoreId());
267268
}
268269
return $this;

0 commit comments

Comments
 (0)