Magento - 更新catalog.xml
我正在尝试更新 magento 主题(主题名称为 Blank_seo),并且我正在尝试将产品页面默认模板更改为 3 列。我尝试更新 app/design/frontend/default/blank_seo/layout/catalog.xml 文件。但到目前为止没有任何效果。 我找到的唯一解决方案是手动将“页面布局”下拉框更改为 3 列。如果有人有更简单/更快的方法来执行此操作(或者我的catalog.xml 编辑不起作用的原因),我将非常感激!
I'm trying to update a magento theme (the theme name is blank_seo), and i'm trying to change the product page default template to 3 columns. I've tried updating the app/design/frontend/default/blank_seo/layout/catalog.xml file. but so far nothing is working.
The only solution that i've found is manually changing the 'Page Layout' dropbox to 3 columns. If anyone has a simpler/quicker way of doing this (or a reason why my editing of catalog.xml doesn't work), I'd be extremely thankful!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
只需查看我的代码,我就可以毫无问题地执行此操作,您要更改catalog.xml 文件的哪一部分?它应该是
元素,如下所示:我在系统中为产品页面设置了一个自定义模板,如您所见。
另外,请确保刷新缓存并检查日志以确保没有遗漏任何错误。
Just looking at the code I have, I have been able to do this without any issue, which part of the catalog.xml file are you changing? It should be the
<catalog_product_view>
element like so:I have a custom template set up in my system for the product page, as you can see.
Also, make sure you refresh your cache and check your logs to ensure you are not missing any errors.