-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Magento 2.1.3 Custom theme can not be applied #7841
Comments
We are having the same problem with one of our shops upgraded to 2.1.3. Initially the database was correctly configured, but as we tried to resave the storeview design theme, it changed the value to the default scope value. |
Same here. |
Editing the store view under content=>configuration makes no difference. It'll tell you it saved the configuration but then it still shows the theme as being default. Part of my problem was that the home page for each store view had somehow become unset. Very uncool @magento-team. Might I suggest pulling 2.1.3 until this problem is fixed? It clearly isn't ready. |
Same Here. |
I managed to change the theme if you change the setting as single shop. Store > Configuration > General > General > Single-Store Mode > YES content > Configuration > Edit |
@cadoworld Does that work if you have more than one store? |
I reverted to 2.1.2. Thank goodness that worked! |
For version 2.1.3, when you run php bin/magento setup:static-content:deploy, it looks like there is some sort of theme minification script that runs. I wonder if this is what is messing up our custom themes. I'll dig around a little bit. |
@magento-team What files get called when php bin/magento setup:static-content:deploy gets run? I think I can figure this out if I know where to look. Otherwise, it's a needle in a haystack. |
@Ctucker9233 Maybe you can catch your result from there ;) |
To me it looks like this issue might also be related to #7815 and #7840. Seems like there is an issue with configuration scope and inheritance at multiple places in the config, see this comment. |
I've got it to work by doing the following steps:
When you refresh the design page you should see no-theme set for all the stores. Make sure to clear cache if its on ;)! Let me know if this also works for you guys! |
@mtuinstra this worked for us but the logo's configured in the CMS did not appear. We had to manually add them as described on http://devdocs.magento.com/guides/v2.1/frontend-dev-guide/themes/theme-create.html#logo_declare |
Same issue here. We've reverted to Magento 2.1.2, this solved the problem. |
Earlier I wrote that removing the rows from core_config_data worked. It is however not working flawlessly anymore, we have to manually add the config rows to core_config_data after edits. |
I'm still digging to see if I can find the problem. Stay tuned guys. |
Same problem - Custom theme can not be applied |
@Tonop I don't have this problem in 2.1.3. I have set two storeviews within main website, then set blank theme to second storeview and all works fine. Could you post your stores configuration here? |
Perhaps you are using a custom theme to the type of virtual? Try to change the physical and update the cache. It helped me |
Guys, you will find a temporary workaround here #7840 (comment) . It will fix the configuration retrieval from the website scope. |
In my situation the theme was already set before upgrading to 2.1.3 after the upgrade all settings in the Design Configuration aren't used and just shows default logo's, mail header, footer etc. |
It works in Magento 2.1.4 |
2.1.4 indeed fixed this issue. |
As confirmed by @Ctucker9233 and @yumicom issue is fixed, is still have the issue, feel free to comment. |
cia-2.4.6-develop-bugfixes-08182022
Preconditions
Steps to reproduce
Expected result
Actual result
The text was updated successfully, but these errors were encountered: