Skip to content

Commit

Permalink
Also populate the storesCache when importing product only on storevie…
Browse files Browse the repository at this point in the history
…w(s) level, previously the storesCache was only populated for products imported on global level. This causes problems with the correct url rewrites to be generated.
  • Loading branch information
hostep committed Feb 9, 2019
1 parent 00fb2aa commit 91ff1c5
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@ protected function _populateForUrlGeneration($rowData)
if ($this->isGlobalScope($product->getStoreId())) {
$this->populateGlobalProduct($product);
} else {
$this->storesCache[$product->getStoreId()] = true;
$this->addProductToImport($product, $product->getStoreId());
}
return $this;
Expand Down

0 comments on commit 91ff1c5

Please sign in to comment.