我想知道如何在magento标头中创建链接,还需要知道如何删除标头中以前添加的链接。
答案 0 :(得分:1)
您可以为自定义链接添加这样的内容,以便在magento标头中设置
<default>
<reference name="top.links">
<action method="addLink" translate="label title">
<label>Terms and Condition</label>
<url>terms</url>
<title>Terms and Condition</title>
<prepare>true</prepare>
<position>2</position>
</action>
</reference>
</default>
另见
http://www.techdilate.com/code/magento-add-remove-top-links-using-layout-xml/
我与上述链接无关。这仅用于知识共享目的。
答案 1 :(得分:0)