3

There is a mini login form on the checkout page.

How can I move it to the header so it displays on every page?

0

I figured out a temporary solution. See https://github.com/eric128/magento2-minilogin This is not the mini login on checkout page but something similar.

0

Thanks for this, a simple check for the block to change the ( Sign in ) to ( Sign Out ) would be great.

Something like:

if ($block->isLoggedIn()) {
   echo "sign out";
} else {
  echo "sign in";
}
  • Thanks for your answer, we're happy to see new contributors. In the future might I suggest when you post to be a bit more precise, or at least add valid PHP? – Sander Mangel Dec 7 '18 at 6:57

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.