Created
August 4, 2020 14:14
-
-
Save adamzero1/1ddffb34f5ff3ecd7e24a2d2c8c274d1 to your computer and use it in GitHub Desktop.
Wrong Store Id when creating order in admin, with single store.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- Model/Session/Quote.php 2020-08-04 13:55:36.438626071 +0000 | |
+++ Model/Session/Quote.php 2020-08-04 13:56:16.990487672 +0000 | |
@@ -134,7 +134,7 @@ | |
$cookieMetadataFactory, | |
$appState | |
); | |
- if ($this->_storeManager->hasSingleStore()) { | |
+ if ($this->_storeManager->isSingleStoreMode()) { | |
$this->setStoreId($this->_storeManager->getStore(true)->getId()); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment