- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2019
03:09 AM
07-10-2019
03:09 AM
remove unused themes
Hello,
how can I check, which themes are not used?
I have in Themes:
Magento Blank | Magento/blank | |
Magento Luma | Magento Blank | Magento/luma |
Smartwave Porto | Magento Blank | Smartwave/porto |
Smartwave Porto RTL | Smartwave Porto | Smartwave/porto_rtl |
bigone_default | Magento Blank | bigone/bigone_default |
bigone2 | bigone_default | bigone/bigone2 |
bigone3 | bigone_default | bigone/bigone3 |
bigone4 | bigone_default | bigone/bigone4 |
As far I see in Design Configuration, bigone4 is used:
Default Website Store Store View Theme Name Action
Global | Magento Luma | ||||
Global | Main Website | Magento Luma | |||
Global | Main Website | Main Website Store | Default Store View | bigone4 |
Because when I generate the static content, it takes a long time, because he made it for all and I want to delete old not used datas.
Can I delete?:
Magento Luma
Smartwave Porto
Smartwave Porto RTL
bigone2
bigone3
Or could it be, that some pages, sites or what ever are referencing to this themes?
Thank you!
Labels:
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2019
01:20 AM
07-11-2019
01:20 AM
Re: remove unused themes
It can be easily done by following steps
1. Remove the theme folder from app/design/frontend/<Vendor>/.
2. Clear the content of var/view_preprocessed/
3. Clear the content of pub/static/frontend/
4. Open the Magento’s database, go to the theme table then search and delete the theme row.
5. Clear the cache with php bin/magento cache:flush.