删除最近查看的magento产品将无法正常工作

时间:2013-01-03 16:38:30

标签: magento

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

<?xml version="1.0"?>

 <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>

0 个答案:

没有答案