Я запускаю Mage 1.5.0.1, и я пытаюсь удалить навигационные ссылки из раздела "Моя учетная запись".
У моего local.xml есть следующее, которое отлично работает:
<customer_account>
<reference name="root">
<action method="setTemplate"><template>page/staticpage.phtml</template></action>
</reference>
<reference name="left">
<remove name="cart_sidebar" />
<remove name="catalog.compare.sidebar" />
</reference>
</customer_account>
Когда я пытаюсь добавить следующий код, вызовы и ошибки системы:
<reference name="customer_account_navigation">
<action method="removeLinkByName"><name>recurring_profiles</name></action>
<action method="removeLinkByName"><name>billing_agreements</name></action>
</reference>
Ошибка
Invalid method Mage_Customer_Block_Account_Navigation::removeLinkByName
Я видел эту функцию в 1.4, она больше не поддерживается или я делаю что-то неправильно?