Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我安装了 Magento2 开源示例数据,一切正常。当我在管理后端切换到 luma 主题时,我可以看到所有内容。但是,当我基于 luma 主题创建自定义主题时,数据/图像不再可见。我究竟做错了什么?应该在某处标记吗?
好的,我想通了。我不得不在数据库中进行两个 sql 查询,因为分配给旧主题的小部件存在问题:
更新layout_link集theme_id= '[CUSTOM_THEME_ID]' 更新集widget_instance= theme_id'[CUSTOM_THEME_ID]'
layout_link
theme_id
widget_instance