0
我试图删除类别页面右侧的“比较产品”和“查看产品”区块。我删除了以下2行reports.xml:Magento:类别布局问题
<block type="reports/product_viewed" name="right.reports.product.viewed" template="reports/product_viewed.phtml" />
<block type="reports/product_compared" name="right.reports.product.compared" template="reports/product_compared.phtml" />2
和catalog.xml中以下行:
<!-- <block type="core/template" name="right.permanent.callout" template="callouts/right_col.phtml"> -->
现在,都显示没有我的产品,和任何链接我点击,它会让我访问一个名为“创建新客户帐户”的页面,并使用正确的URL和几乎空白的页面。页眉和页脚仍然在这里,以及一些右侧块,但其间的一切都消失了。
我认为这将是一个简单的操作,所以我直接在现场。
嗨,谢谢你的回答。我已回滚该网站,并得到了布局,所以没有更多的紧急情况..我试图把这些行放在local.xml中。试图找到它在前端>默认> mytheme和前端>基地>默认,但它不会让这些东西在任何消失。不知道有什么问题... – bertrand2504 2015-02-07 04:05:39
你应该确定你正在编辑正确的文件,如果你激活了开发者模式并且在local.xml中删除'<'来破坏格式,Magento会为你显示一个错误 – davidselo 2015-02-09 09:57:36