您好我尝试通过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>