Xin chào kiểm tra tập tin dưới đây vào bố cục mẫu của bạn xml
wishlist.xml
<action method="addLinkBlock"><blockName>wishlist_link</blockName><prepare/><urlParams/><position>10</position></action>
kiểm tra
<action method="addCartLink"><prepare/><urlParams/><position>30</position></action>
khách hàng
<action method="addLink" translate="label title" module="customer"><label>My Account</label><url helper="customer/getAccountUrl"/><title>My Account</title><prepare/><urlParams/><position>100</position><liParams/></action>
<action method="addLink" translate="label title" module="customer"><label>Log Out</label><url helper="customer/getLogoutUrl"/><title>Log Out</title><prepare/><urlParams/><position>50</position></action>
<action method="addLink" translate="label title" module="customer"><label>Log In</label><url helper="customer/getLoginUrl"/><title>Log In</title><prepare/><urlParams/><position>50</position><liParams/></action>
chúng ta sẽ thấy Vị trí mặc định trong Magento
Tài khoản của tôi = 10 Đường dẫn-> ứng dụng \ design \ frontend \ default \ default \ layout \ customer.xml
Whislist = 30 Đường dẫn-> ứng dụng \ code \ core \ Mage \ Wishlist \ Block \ Links.php
Mycart = 50 Đường dẫn-> ứng dụng \ code \ core \ Mage \ Checkout \ Block \ Links.php
Checkout = 60-> Đường dẫn-> ứng dụng \ code \ core \ Mage \ Checkout \ Block \ Links.php
Đăng nhập / Đăng xuất = 100 Đường dẫn-> ứng dụng \ design \ frontend \ default \ default \ layout \ customer.xml