1

OST チケットをマゼンタに統合するために、Magento 拡張機能を作成しました。これはうまく機能していますが、唯一の問題は「マイ アカウント」リンクを表示することです。

私のアカウント ダッシュボードには、次のリンクがあります。

  • アカウント ダッシュボード
  • サポートチケット
  • 口座情報
  • 住所録
  • 私の注文
  • 請求契約
  • 繰り返しプロファイル
  • 私の製品レビュー
  • 私のウィッシュリスト
  • マイ アプリケーション
  • ニュースレターの購読
  • 私のダウンロード可能な製品

次のコードを使用してブロックを拡張機能に含める場合:

<support_index_index>
       <reference name="content">
            <block type="support/list"  name="support_list" template="support/list.phtml" />
       </reference>
       <reference name="left">
        <block type="customer/account_navigation" name="customer_account_navigation" before="-" template="support/navigation.phtml">
            <action method="addLink" translate="label" module="customer"><name>account</name><path>customer/account/</path><label>Account Dashboard</label></action>
            <action method="addLink" translate="label" module="customer"><name>account_edit</name><path>customer/account/edit/</path><label>Account Information</label></action>
            <action method="addLink" translate="label" module="customer"><name>address_book</name><path>customer/address/</path><label>Address Book</label></action>
        </block>
        <remove name="tags_popular"/>
        <remove name="leftnav" />

    </reference>


  </support_index_index>

私は4つのリンクしか取得しません:

  • アカウント ダッシュボード
  • サポートチケット
  • 口座情報
  • 住所録

誰かがなぜこれが起こるのか、どうすればこれを回避できるのか説明してもらえますか?

4

1 に答える 1

2

@/app/design/frontend/default/default/layout/review.xmlをご覧ください

<customer_account>
    <!-- Mage_Review -->
    <reference name="customer_account_navigation">
        <action method="addLink" translate="label" module="review"><name>reviews</name><path>review/customer</path><label>My Product Reviews</label></action>
    </reference>

</customer_account>

Magento-アカウントナビゲーションでリンクを追加/削除する方法を参照してください。

于 2013-03-22T13:11:44.493 に答える