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 abe22bc commit dce6e9dCopy full SHA for dce6e9d
app/code/Magento/Store/Model/Store.php
@@ -21,6 +21,7 @@
21
use Magento\Framework\Url\ScopeInterface as UrlScopeInterface;
22
use Magento\Framework\UrlInterface;
23
use Magento\Store\Api\Data\StoreInterface;
24
+use Magento\Store\Model\StoreManager;
25
26
/**
27
* Store model
@@ -760,6 +761,7 @@ protected function _updatePathUseStoreView($url)
760
761
public function isUseStoreInUrl()
762
{
763
return !($this->hasDisableStoreInUrl() && $this->getDisableStoreInUrl())
764
+ && !$this->getConfig(StoreManager::XML_PATH_SINGLE_STORE_MODE_ENABLED)
765
&& $this->getConfig(self::XML_PATH_STORE_IN_URL);
766
}
767
0 commit comments