I am trying to remove input fields (Company and Telephone) from the Checkout page. I have followed what is explained on the M2 site here under 'Disable a component'. I have done the below but nothing is changing on the Checkout page:

I copied the checkout_index_index.xml file from vendor/magento/module-checkout/view/frontend/layout/ and placed it in VENDOR/THEME/Magento_Checkout/layout/.

I updated this new file (checkout_index_index.xml) by adding the below to the company item:

<item name="config" xsi:type="array">
   <item name="componentDisabled" xsi:type="boolean">true</item>

Resulting in it looking like this:

<item name="company" xsi:type="array">
   <item name="config" xsi:type="array">
      <item name="componentDisabled" xsi:type="boolean">true</item>
   <item name="validation" xsi:type="array">
      <item name="min_text_length" xsi:type="number">0</item>

Once I saved this file, I deleted all the content from:


Then ran:

php magento setup:static-content:deploy
php magento cache:clean

Refreshed the browser... and nothing. No change at all. What am I doing wrong?

  • Have you looked at examples here? May 17, 2016 at 22:47
  • 1
    @ Steve Johnson, seem the guide from document didn't work for us. You have any new guide or explain more details? May 18, 2016 at 9:11
  • did you find the solution? please share if you did because i'm facing the same issue.
    – Ree
    Oct 17, 2016 at 3:29


Your Answer

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

Browse other questions tagged or ask your own question.