Why are the Luma Thema sample images from Magento2 sample data not visible when extending it to a custom theme?

[亡魂溺海] 提交于 2020-01-25 07:41:05

问题


I installed the Magento2 open source sample data and everything works fine. When I switch to the luma theme in the admin backend I can see everything. But when I create a custom theme based on luma theme the data/images is not visible anymore. What am I doing wrong? Should it be marked somewhere?


回答1:


Ok, I figured it out. I had to make two sql queries in the database because it was a problem with the widgets assigned to the old theme:

UPDATE layout_link SET theme_id = '[CUSTOM_THEME_ID]' UPDATE widget_instance SET theme_id = '[CUSTOM_THEME_ID]'



来源:https://stackoverflow.com/questions/57820045/why-are-the-luma-thema-sample-images-from-magento2-sample-data-not-visible-when

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!