本文介绍了在 magento 中更改心愿单网址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个特殊要求.是否可以将整个心愿单链接指向不同的内容?一切都应替换为不同的名称.所以,而不是 demo.store.com/wishlist 是 demo.store.com/scrapbook如果可能的话,我应该从哪里开始寻找?
I have a special request.It is possible to point the whole wishlist links to something different?Everything should be replaced with a different name. So instead of demo.store.com/wishlist to be demo.store.com/scrapbookWhere should I start to look, if it's possible at all?
推荐答案
您可以将其添加到 app/etc/local.xml
:
<config>
<!-- other stuff -->
<frontend>
<routers>
<wishlist>
<args>
<frontName>scrapbook</frontName>
</args>
</wishlist>
</routers>
</frontend>
<!-- other stuff -->
</config>
这篇关于在 magento 中更改心愿单网址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!