Checkout Button not working
If the checkout button is not working in the cart or the mini-cart, the reason is probably that the
authentication-popup block was removed from the header-content.
How does the checkout button work?
Clicking the checkout buttons dispatches an event
toggle-authentication, which is processed by the
authentication-popup block template.
Magento_Customer/templates/account/authentication-popup.phtml template triggers a login form before redirecting to the cart if guest checkout is disabled.
authentication-popup block is declared in
authentication-popup template is rendered by the parent template
How do I find out if I'm missing the
To check if the
authentication-popup block is missing, compare the
Magento_Theme/templates/html/header.phtml template in your theme to the original at
The template in your theme is probably missing the line