0

I need to delete a store view, but there is no way.

How does it work?

enter image description here

4 Answers 4

1

I would not recommend deleting a storeview from the backend. There is a good chance your request will time out and give you all sorts of trouble.

If you still want to do it make backups!

An alternative way would be to dump the current configuration into app/etc/config.php (app:config:dump) and edit the confg.php stores section to your needs. Then do a setup:upgrade. This will make sure the deleted stores from the config.php will be deleted from the database as well.

The system will ask if you actually want to delete the stores. This way you have full control.

0

You need to go into the store view and press on the "Delete Store View" link at the top:

enter image description here

0

You should go storeview detail page by click on storeview link.

For Delete Storeview follow below steps. Go Admin > Stores > All stores.

Select storeview which you want to remove. press button "Delete Store View". It would take some time.

After it execute below commands.

php bin/magento indexer:reset;
php bin/magento indexer:reindex;
php bin/magento cache:clean; 

After Update permission of var cache pub/static folder.

2
  • Never use chmod 777
    – Black
    Apr 13, 2022 at 13:37
  • yes, for security we could not use. generally i used to for ubuntu local server.
    – S.P
    Apr 13, 2022 at 13:40
0

Go to STORES > Settings > All Stores , click on the name of the store view, at the top of the corner delete store view button is there. click and remove the store view.

enter image description here

1
  • This answer already exist.
    – Black
    May 2, 2022 at 10:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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