I tried to hide the My Account menu from the dropdown when variable in my session is 0. I already could save my variable to the session, but i can't find the phtml to hide the My Account menu in top dropdown. Which file that generate the header?

  • vendor/magento/module-customer/view/frontend/layout/default.xml:10 – St3phan Nov 2 '17 at 7:47
  • There is no phtml for the header? – Edwin Widhiyanto Nov 2 '17 at 9:40
  • vendor/magento/module-customer/view/frontend/templates/account/navigation.phtml – St3phan Nov 2 '17 at 9:57

Your Answer

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

Browse other questions tagged or ask your own question.