Hi,
At some point I guess the theme was chosen for each category and sub-category. Now when a new theme is added, those categories are still showing the old theme. Is there a way to change this to use the new theme (or no theme at all) without going into each one and making the change?
Thanks!
Solved! Go to Solution.
Hello @STANHOOKWE1403
Use SQL Query to Reset Category-Specific Theme
If some categories were manually assigned to the old theme, you can reset them to inherit the default theme using an SQL query.
UPDATE catalog_category_entity_varchar SET value = NULL WHERE attribute_id = (SELECT attribute_id FROM eav_attribute WHERE attribute_code = 'custom_design' AND entity_type_id = 3); bin/magento cache:flush bin/magento indexer:reindex
Hope it helps !
If you find our reply helpful, please give us kudos.
A Leading Magento Development Agency That Delivers Powerful Results, Innovation, and Secure Digital Transformation.
WebDesk Solution Support Team
Get a Free Quote | | Adobe Commerce Partner | Hire Us | Call Us 877.536.3789
Thank You,
WebDesk Solution Support Team
Get a Free Quote | Email | Adobe Commerce Partner | Hire Us | Call Us 877.536.3789
Location: 150 King St. W. Toronto, ON M5H 1J9
Hello @STANHOOKWE1403
Use SQL Query to Reset Category-Specific Theme
If some categories were manually assigned to the old theme, you can reset them to inherit the default theme using an SQL query.
UPDATE catalog_category_entity_varchar SET value = NULL WHERE attribute_id = (SELECT attribute_id FROM eav_attribute WHERE attribute_code = 'custom_design' AND entity_type_id = 3); bin/magento cache:flush bin/magento indexer:reindex
Hope it helps !
If you find our reply helpful, please give us kudos.
A Leading Magento Development Agency That Delivers Powerful Results, Innovation, and Secure Digital Transformation.
WebDesk Solution Support Team
Get a Free Quote | | Adobe Commerce Partner | Hire Us | Call Us 877.536.3789
Thank You,
WebDesk Solution Support Team
Get a Free Quote | Email | Adobe Commerce Partner | Hire Us | Call Us 877.536.3789
Location: 150 King St. W. Toronto, ON M5H 1J9