Magento 2 (EE) : Custom theme is not fully working
-
10-10-2020 - |
Question
I have created a custom theme and activate that theme from admin. The custom theme is not fully loaded on the frontend. In custom theme, we have overridden many core theme modules template files.I have set one parent theme which is also a custom theme.
I have done following steps to resolve this issue but the issue still persists.
- set the custom theme from admin
bin/magento setup:upgrade
bin/magento setup:static-content:deploy
bin/magento indexer:reindex
Note: some of templates files has overridden.
Magento version 2.1
Thanks in advance.
Solution 2
I have fixed my issue by changing the theme type
from virtual
to physical
in theme table.
and then run following commands:
bin/magento setup:static-content:deploy
bin/magento setup:upgrade
bin/magento cache:flush
OTHER TIPS
Try to the below step:
- remove var/cache, var/generation , var/page_cache, var/view_preprocessed, var/di (if any);
- remove pub/static/_requirejs, pub/static/adminhtml, pub/static/frontend,
- bin/magento setup:static-content:deploy,
- bin/magento setup:upgrade
- bin/magento cache:flush
- bin/magento cache:clean
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange