0

How do i remove login button from a specific page in magento? I cant disable entire block but need to remove login button only from a specific page.

4

1 回答 1

0

I'm answering this question assuming you mean the link inside the "account.links" area.

Let's save you want to remove it from the catalog product view. The following should do it:

<catalog_product_view>
    <reference name="account.links>
        <action method="removeLinkByUrl"><url helper="customer/getLoginUrl"/></action>
    </reference>
</catalog_product_view>
于 2012-12-03T20:18:58.330 回答