gpt4 book ai didi

magento - 在magento中为特定页面自定义侧边栏

转载 作者:行者123 更新时间:2023-12-04 18:13:58 26 4
gpt4 key购买 nike

我刚刚安装了 magento 以及它的示例数据。我将关于页面设置为使用带有左侧边栏的 2 列,并添加了一个自定义小部件。该小部件显示在默认 block 下方,第一个是比较产品,下方是我的购物车,下方是热门标签。在这三个之下是我的自定义静态 block /小部件。

我将如何自定义此特定页面的左侧?我想删除它显示的默认 block ,只使用我的小部件。

谢谢

最佳答案

我发现下面的代码可以工作。如果有更好的方法/最佳实践方法,我想听听。谢谢

<reference name="left">
<remove name="cart_sidebar"></remove>
<remove name="catalog.compare.sidebar"></remove>
<remove name="tags_popular"></remove>
</reference>

关于magento - 在magento中为特定页面自定义侧边栏,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12066648/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com