在 magento 2 的 app/design 中覆盖 app/code html 文件
Override app/code html file in app/design in magento 2
如何覆盖 app/code/Mageplaza/Osc/view/frontend/web/template/1column.html
中的 html 文件,并将更改存储在我的主题目录 app/design/frontend/ABC/Theme/...
中?
我试过将更改后的文件放入
app/design/frontend/ABC/Theme/Osc/web/template/1column.html
并重新部署,但不起作用。
有什么想法吗?提前致谢!
很接近,查看 registration.php
文件,他们将名称声明为 Mageplaza_Osc
,因此将文件设置为 app/design/frontend/ABC/Theme/Mageplaza_Osc/web/template/1column.html
可以解决问题。
如何覆盖 app/code/Mageplaza/Osc/view/frontend/web/template/1column.html
中的 html 文件,并将更改存储在我的主题目录 app/design/frontend/ABC/Theme/...
中?
我试过将更改后的文件放入
app/design/frontend/ABC/Theme/Osc/web/template/1column.html
并重新部署,但不起作用。
有什么想法吗?提前致谢!
很接近,查看 registration.php
文件,他们将名称声明为 Mageplaza_Osc
,因此将文件设置为 app/design/frontend/ABC/Theme/Mageplaza_Osc/web/template/1column.html
可以解决问题。