Question

I am working on multi store website, as far I know person should be able to disable store view / website if that is not a default store view / website.

I want to disable some of the store views but can't able to disable the store. it give me the notification

It cannot be disabled

P.S: I already set one of the store view as default.

Any help, experience and knowledge sharing would be appreciated.

Was it helpful?

Solution

Update

Things to check:

  1. Ensure that store views are not configured as any defaults.

Website Scope

Website Showing Default Store

Store Scope - AKA: Store Group enter image description here

  1. Ensure that config.php is not using the store view

https://devdocs.magento.com/guides/v2.2/config-guide/config/config-php.html

https://devdocs.magento.com/guides/v2.2/config-guide/config/config-files.html

  1. Ensure that the configuration is not locked

https://devdocs.magento.com/guides/v2.2/config-guide/prod/config-reference-sens.html

  1. Check changelogs to see if issue was resolved in upgraded versions:

https://devdocs.magento.com/guides/v2.2/release-notes/bk-release-notes.html

  1. Query database to see values:
 select * from store;
 select * from store_group;
 select * from store_website;

Resources:


I'd be willing to bet that it is related to bugs that are resolved in 2.2.6

https://devdocs.magento.com/guides/v2.2/release-notes/ReleaseNotes2.2.6EE.html#theme

Try upgrading magento composer update in a test environment

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top