Where exactly is the code generating this popup on Luma's one page checkout, so I can add a custom HTML block after "Sign In"?


I tried every place I could think of, but nothing seems to work. The browser console shows that the "Sign In" heading is wrapped inside a "block-customer-login-heading" element. Searching for that element in the Luma template folders brings up the following results:

/vendor/magento/module-checkout/view/frontend/web/template/authentication.html /vendor/magento/module-customer/view/frontend/web/template/authentication-popup.html

I tried editing each of those files in my child theme, using these paths:

app/design/frontend/My_Vendor/My_Theme/Magento_Customer/frontend/web/template/ app/design/frontend/My_Vendor/My_Theme/Magento_Checkout/frontend/web/template/

(also tried without /frontend, just in case...)

Cleared the cache. No custom block shows.

Is there anywhere else I should be looking or am I just not using the right paths?

1 Answer 1


This is coming from knockout template in onepage checkout.


You may remove this by overriding


You can look at magento's checkout customization document at below link.


and disable section -


Your Answer

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

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