I would like to remove the login pop up from the checkout:

The login appears on the checkout page(like this)enter image description here

I wanna remove this option from the checkout page.

What is the best way to achieve this?

  • You mean you want to remove the login pop up from the checkout? Commented Dec 13, 2016 at 16:37
  • yes remove login pop up and show just a login div in checkout page
    – ali gh
    Commented Dec 14, 2016 at 7:51
  • Cool, just posted the answer, hope it helps. Commented Dec 14, 2016 at 10:59

1 Answer 1


Create a new file checkout_index_index.xml in following path app/design/frontend/[package_name]/[your_theme]/Magento_Checkout/layout/

Then add the following code to this new created file.

<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="1column" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <referenceContainer name="content">
        <referenceBlock name="checkout.root">
                <argument name="jsLayout" xsi:type="array">
                    <item name="components" xsi:type="array">
                        <item name="checkout" xsi:type="array">
                            <item name="children" xsi:type="array">
                                <item name="authentication" xsi:type="array">
                                    <item name="config" xsi:type="array">
                                        <item name="componentDisabled" xsi:type="boolean">true</item>

After that clear cache using this command.

php bin/magento cache:clean

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.