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 63cf5b3 commit c1e363eCopy full SHA for c1e363e
app/code/Magento/Catalog/Model/Product.php
@@ -832,7 +832,7 @@ public function getStoreIds()
832
if (!$this->hasStoreIds()) {
833
$storeIds = [];
834
if ($websiteIds = $this->getWebsiteIds()) {
835
- if ($this->_storeManager->isSingleStoreMode()) {
+ if ($this->_storeManager->isSingleStoreMode() && !$this->isObjectNew()) {
836
$websiteIds = array_keys($websiteIds);
837
}
838
foreach ($websiteIds as $websiteId) {
0 commit comments