是否有我的帐户侧栏链接名称列表,可与removelinkbyname模块一起使用?
题
尝试删除侧边栏中的我的帐户链接时,使用此处概述的模块 http://www.magentocommerce.com/boards/viewthread/435/#e9
是否有与每个链接关联的所有名称的列表?
解决方案
这些链接的名称的完整列表是:
recurring_profiles <!-- Recurring Profiles -->
billing_agreements <!-- Billing Agreements -->
tags <!-- My Tags -->
OAuth Customer Tokens <!-- My Applications -->
downloadable_products <!-- Downloadable Products -->
reviews <!-- Product Reviews -->
wishlist <!-- Wishlist -->
address_book <!-- Address book -->
account_edit <!-- Account information -->
account <!-- Account dashboard -->
newsletter <!-- Newsletter -->
orders <!-- Orders-->
您可以在创建该模块之后添加这些模块,通过将以下每个链接添加到local.xml:
<action method="removeLinkByName"><name>recurring_profiles</name></action> <!-- Recurring Profiles -->