gpt4 book ai didi

magento - 想要在 magento 的页脚中显示最近查看的产品

转载 作者:行者123 更新时间:2023-12-02 03:19:44 26 4
gpt4 key购买 nike

我想在页脚中显示最近查看的产品。我该怎么做?因为我已经将它们放在 page.xml 中

<reference name="footer"> 
<block type="reports/product_viewed" name="product.recently.viewed" as="product_recently_viewed" template="reports/product_viewed.phtml"/>
</reference>

和这些在页脚

<?php echo $this->getChildHtml('product_recently_viewed') ?>

最佳答案

希望你已经配置好了

admin > system > configuration > catalog > recently viewd/compared products

&你可以看到

admin > reports > products > most viewed

尝试过

admin > reports > refresh statistics

关于magento - 想要在 magento 的页脚中显示最近查看的产品,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34326879/

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