Magento将wishlist_link添加到其他块? [英] Magento add wishlist_link to different block?
本文介绍了Magento将wishlist_link添加到其他块?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已使用local.xml文件从top.links中删除了愿望清单链接:
I have removed the wishlist link from my top.links using my local.xml file:
<remove name="wishlist_link"/>
如何将其添加到其他地方,例如在我的迷你购物篮中?
How do I add it elsewhere, for example in my minibasket?
推荐答案
在块视图脚本中,我添加了以下内容,这些内容添加了指向/wishlist/
的链接.
In the block view script I added the following which added a link to /wishlist/
.
<a href="<?php echo $this->getUrl('wishlist') ?>">Wishlist</a>
这篇关于Magento将wishlist_link添加到其他块?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文