更改 Magento 模板
一位客户要求我编辑那里的电子商务网站,他们使用的 cms 系统是 Magento,我将如何更改类别页面 html 编码,因为我需要将 h2 更改为 h1。它是否存储在 FTP 上,以便我可以下载编辑 html,然后重新上传。我尝试去 /public_html/app/design/frontend/base/mylightbulb/template/catalog/category
并且 view.phtml 不包含我之后的 html
谢谢
I have been asked by a customer to edit there ecommerce website, the cms system they use is Magento, how would i go about changing the category page html coding as i need to change a h2 to a h1. Were is it stored on the FTP so i can download edit html and then reupload. i have tried to go to /public_html/app/design/frontend/base/mylightbulb/template/catalog/category
and the view.phtml does not contain the html i am after
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Magento 的模板相当复杂(但灵活),但找出“块”的 HTML 所在位置的一种方法是通过 启用模板路径提示。
Magento's template is quite complicated (but flexible), but one way to find out where the HTML for a 'block' is located is by enabling Template Path Hints.
您应该能够在此处编辑类别页面的主题文件
/app/design/frontend/themepackage/theme/template/catalog/category/view.phtml
You should be able to edit their theme file for the category page here
/app/design/frontend/themepackage/theme/template/catalog/category/view.phtml