I am looking for solution to remove or skip customer authentication on checkout and Allow guest to checkout. Simple is that we need to remove the authentication step to login or register, any one can purchase as a guest only.

  • Juts check if configuration Stores >> Configuration >> Allow Guest Checkout is set to YES
    – Pawan
    Mar 19 at 6:17
  • Guest Checkout is already enabled or disabled but customer need to get rid of login/register on checkout Mar 20 at 8:01
  • Did you try this option: Set the "Enable Automatic Assignment to Customer Group" option to "No"
    – Dotsquares
    Mar 20 at 12:01

1 Answer 1


I have tried several methods to allow only guest customers and remove the login functionality.

Finally I have found a solution. In orders to achieve this functionality we have to override couple of files in our custom modules using require.js

  1. Remove Password Field and Message vendor/magento/module-checkout/view/frontend/web/template/form/element/email.html
  2. Comment Existing Email check function vendor/magento/module-checkout/view/frontend/web/js/view/form/element/email.js
  3. Disable Authentication Component vendor/Magento/module_checkout/layout/checkout_index_index.xml

Your Answer

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

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