删除magento won和#xB4中最近查看的产品;行不通

删除magento won和#xB4中最近查看的产品;行不通,magento,Magento,您好,我试图通过local.xml删除最近查看过的产品,但它不起作用,我不知道为什么。这是我的代码: <?xml version="1.0"?> 右。报告。产品。已查看 对。报告。产品。比较 右。报告。产品。已查看 对。报告。产品。比较 问题可能是,因为块还不能使用unsetChild()。但是应该是有效的。你停用缓存了吗?是的。我总是使用停用的缓存。我有同样的问题,但块在左边,所以。。。 <reference name="right"> <a

您好,我试图通过local.xml删除最近查看过的产品,但它不起作用,我不知道为什么。这是我的代码:

<?xml version="1.0"?>


右。报告。产品。已查看
对。报告。产品。比较
右。报告。产品。已查看
对。报告。产品。比较

问题可能是
,因为块还不能使用
unsetChild()
。但是
应该是有效的。你停用缓存了吗?是的。我总是使用停用的缓存。我有同样的问题,但块在左边,所以。。。
 <reference name="right">
    <action method="unsetChild"><alias>right.reports.product.viewed</alias></action>
    <action method="unsetChild"><alias>right.reports.product.compared</alias></action>
</reference>

<default>
    <action method="unsetChild"><name>right.reports.product.viewed</name></action>
     <action method="unsetChild"><name>right.reports.product.compared</name></action>
    <remove name="right.reports.product.viewed"/>
    <remove name="right.reports.product.compared"/>
</default>