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/

  • on which page you want to hide – Magento 2 Nov 9 '15 at 6:55
  • 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 '15 at 7:10
  • it's not working...... – Baby in Magento Nov 9 '15 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 '15 at 7:34

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

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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