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.
这只是一个简单的问题,所以我会直截了当。有没有办法在不更改 header.phtml 文件的情况下更改顶部链接?我担心如果我依靠 phtml 文件来更改顶部链接,它可能会破坏整个网站。另外,是否有任何指南可以用来使用静态块来放置顶部链接?提前致谢。
查看这些文件。如果您使用的主题不是默认主题,则相应地检查文件,您可以更改链接名称。
应用程序/设计/前端/默认/默认/布局/checkout.xml
app/design/frontend/default/default/layout/customer.xml
在那里找到 <reference name="top.links">
<reference name="top.links">
在那里您可以更改顶部链接。