11

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.

2

1 Answer 1

12

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

2
  • Can you share more specific detail of bug fix in 2.2.6 in your answer by fetching it from your reference link? it would be helpful for other readers as well Apr 11, 2019 at 6:11
  • Great Detailed Answer, upvoted and accepted your answer as well. Apr 16, 2019 at 6:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.