1

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

4

0 回答 0