Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要自定义 Magento topLinks 以在注销链接上包含客户名称。
我知道可以在 customer.xml 中找到该标签,但不知道如何在其中包含客户名称以使其显示为“注销(客户名称)”。
这应该会有所帮助。它解释了如何在“我的帐户”项目上添加客户名称,但它也应该适用于注销按钮。它涉及创建一个简单的扩展并将您想要的菜单项替换为包含客户名称的菜单项