I wonder why Plugin/RouteParamsResolver getValue scope by store then that impossible to set store_view scope for field id="use_store" value ?
$useStoreInUrl = $this->scopeConfig->getValue(
Store::XML_PATH_STORE_IN_URL,
--> StoreScopeInterface::SCOPE_STORE,
$storeCode
);
This is not a completely selfless request because I would need a website with the store_code in the URL and another website with no store_code in the URL. And this on the same Magento instance.
Hi,
I wonder why Plugin/RouteParamsResolver getValue scope by store then that impossible to set store_view scope for field id="
use_store" value ?https://github.com/magento/magento2/blob/a947b306335294f61ab633ef75d9047c29988a9b/app/code/Magento/Backend/etc/adminhtml/system.xml#L511
<field id="use_store" translate="label comment" type="select" sortOrder="10" showInDefault="1" canRestore="1">https://github.com/magento/magento2/blob/a947b306335294f61ab633ef75d9047c29988a9b/app/code/Magento/Store/Url/Plugin/RouteParamsResolver.php#L77
(since 2014 at https://github.com/magento/magento2/blob/9c2b633621e69bf2ea0480c1759c4d66739af29b/app/code/Magento/Core/Model/Url/RouteParamsResolver.php#L130 )
This is not a completely selfless request because I would need a website with the store_code in the URL and another website with no store_code in the URL. And this on the same Magento instance.