Would this be possible by means of sql queries?


The store table has a column is_active.
Set that to 0 and the store view is disabled.
It does not work for websites. But you can simply disable all store views from that website and you are safe.

`UPDATE store SET is_active=0 where store_id = your id here`;
  • Hi Marius; that query is very handy for store views; which tables should I use for deactivating stores and websites? – Julian Murillo Feb 20 at 15:16
  • ...Or aren’t there any issues, if there are stores without default store views? – Julian Murillo Feb 20 at 15:46
  • you cannot deactivate store groups and websites. I don't think there is a problem. The website will just simply not work if it does not have store groups or views. Which is what you want, I think – Marius Feb 20 at 15:51

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.