1

visit the link : http://2.kidsdial.com/

on top right you can see :

"My account, My wishlist...etc"

I want to hide these links from some .phtml pages.

for example from this page : http://2.kidsdial.com/marketplace/

6
  • on which page you want to hide
    – Magento 2
    Nov 9, 2015 at 6:55
  • 2.kidsdial.com/marketplace Nov 9, 2015 at 7:05
  • use this <marketplace-index-index translate="label"> <reference name="top.links"> <remove name="wishlist_link"/> <remove name="checkout_cart_link"/> </reference> </marketplace-index-index>
    – Magento 2
    Nov 9, 2015 at 7:10
  • it's not working...... Nov 9, 2015 at 7:26
  • it's working for me it's removed wishlist and checkout link if you want you add what and all you have
    – Magento 2
    Nov 9, 2015 at 7:34

1 Answer 1

1

fro example if you want to remove for product view page you can simply add you in local.xml

<marketplace_index_index>
<reference name="top.links">
   <remove name="wishlist_link"/>
   <remove name="checkout_cart_link"/>
</reference>
</marketplace_index_index>
14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.