2013-12-09 57 views

回答

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/

我是與任何關聯上述鏈接。這只是爲了知識分享的目的。

+0

,我需要添加此代碼?如果有的話,可以在主題的local.xml中使用 –

+0

。或相關的XML,如上面的鏈接定義 – liyakat

相關問題