0
local.xml 파일을 사용하여 상단 링크의 순서를 재정렬하려고 시도하고 있지만 지금까지는 모든 것이 잘 진행되고 있지만 장바구니에서는 존재하는 URL. 처음에는magento 상단 링크의 내 장바구니에 대한 올바른 URL 도우미는 무엇입니까
난 그냥 내 장바구니에 추가하여 일을 다음과 같이
<reference name="top.links.custom">
<action method="addLink" translate="label title" module="customer"><label>Account</label><url helper="customer/getAccountUrl"/><title>Account</title><prepare/><urlParams/><position>130</position></action>
<action method="addLink" translate="label title" module="customer"><label>Home</label><url helper="core/url/getHomeUrl"/><title>Home</title><prepare/><urlParams/><position>50</position></action>
<block type="checkout/links" name="check_cart_link_custom">
<action method="addCartLink"></action>
</block>
에서 상위 링크로 다시 블록을 추가했다. 마지막 링크 그래서 내가 다음 코드를 사용할 수 있습니다 생각 그래서 나는 그것을 배치하고 싶었
<reference name="top.links.custom">
<action method="addLink" translate="label title" module="customer"><label>Account</label><url helper="customer/getAccountUrl"/><title>Account</title><prepare/><urlParams/><position>130</position></action>
<action method="addLink" translate="label title" module="customer"><label>Home</label><url helper="core/url/getHomeUrl"/><title>Home</title><prepare/><urlParams/><position>50</position></action>
<action method="addLink" translate="label title" module="checkout"><label>Cart</label><url helper="checkout/cart/"/><title>Cart</title><prepare/><urlParams/><position>150</position></action>
</reference>
하지도 않습니다이 또는 "addCartLink"works.So 사용하여 무엇을 내 카트 사용 addLink을 할 수있는 올바른 방법입니다 탑 링크?
이 링크 작업을한다,하지만 달리 당신은'<블록 타입 = "체크 아웃/링크"이름 = "check_cart_link_custom을"> 사용할 때 <액션 메소드 = "addCartLink" > '제품을 장바구니에 추가하려면 장바구니에 상품이 있음을 나타내는 것이 아닙니다. 따라서 (장바구니 1 항목) 표시하는 대신 (장바구니)입니다. 이런 식으로 할 수 없습니까? – capnhud
(장바구니) 효과를 얻으려면 미니 카트보기를 편집하고 항목 카운터 변수를 제거하기 만하면됩니다. – Anunay
'label' 카트 대신 아이콘을 어떻게 추가 할 수 있습니까? –