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.
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
- Remove Password Field and Message vendor/magento/module-checkout/view/frontend/web/template/form/element/email.html
- Comment Existing Email check function vendor/magento/module-checkout/view/frontend/web/js/view/form/element/email.js
- Disable Authentication Component vendor/Magento/module_checkout/layout/checkout_index_index.xml