I have been playing around with removing elements on magento 2's one page checkout. Not sure how to remove the sole sign in link provided during checkout in the header. The code below does not work in cart_index_index.xml
. Any help is appreciated.
<referenceBlock name="authentication-wrapper" remove="true"/>
Best Answer
Add the layout file
magento_checkout/view/frontend/layout/checkout_index_index.xml
to your module or theme with this contents:This disables the JS component that renders the authentication element.