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 8fd89cf commit 765f88fCopy full SHA for 765f88f
app/code/Magento/Catalog/Model/Product.php
@@ -810,7 +810,7 @@ public function getStoreIds()
810
if (!$this->hasStoreIds()) {
811
$storeIds = [];
812
if ($websiteIds = $this->getWebsiteIds()) {
813
- foreach ($websiteIds as $websiteId) {
+ foreach ($websiteIds as $websiteId => $selectedId) {
814
$websiteStores = $this->_storeManager->getWebsite($websiteId)->getStoreIds();
815
$storeIds = array_merge($storeIds, $websiteStores);
816
}
0 commit comments