How to remove Company field from checkout process in Magento 2?












14














How to remove Company field from checkout process in Magento 2? I've been looking for the template but have not found it.



Update: Is there any way to remove this field via layout or template?










share|improve this question
























  • I can't check at the moment as I'm on my phone, but I think it's related to a Knockout JS template. Is there anything in the form you can search for, such as a class or id?
    – Ben Crook
    May 4 '16 at 22:13












  • Shipping fields are inside: form id="co-shipping-form". Code for commpany field: <div class="field" name="shippingAddress.company" data-bind="visible: visible, attr: {'name': element.dataScope}, css: additionalClasses">"
    – Luis Garcia
    May 5 '16 at 17:19
















14














How to remove Company field from checkout process in Magento 2? I've been looking for the template but have not found it.



Update: Is there any way to remove this field via layout or template?










share|improve this question
























  • I can't check at the moment as I'm on my phone, but I think it's related to a Knockout JS template. Is there anything in the form you can search for, such as a class or id?
    – Ben Crook
    May 4 '16 at 22:13












  • Shipping fields are inside: form id="co-shipping-form". Code for commpany field: <div class="field" name="shippingAddress.company" data-bind="visible: visible, attr: {'name': element.dataScope}, css: additionalClasses">"
    – Luis Garcia
    May 5 '16 at 17:19














14












14








14


2





How to remove Company field from checkout process in Magento 2? I've been looking for the template but have not found it.



Update: Is there any way to remove this field via layout or template?










share|improve this question















How to remove Company field from checkout process in Magento 2? I've been looking for the template but have not found it.



Update: Is there any way to remove this field via layout or template?







magento2 layout template theme uicomponent






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited May 5 '16 at 18:39









Khoa TruongDinh

20.9k63884




20.9k63884










asked May 4 '16 at 20:48









Luis GarciaLuis Garcia

60431940




60431940












  • I can't check at the moment as I'm on my phone, but I think it's related to a Knockout JS template. Is there anything in the form you can search for, such as a class or id?
    – Ben Crook
    May 4 '16 at 22:13












  • Shipping fields are inside: form id="co-shipping-form". Code for commpany field: <div class="field" name="shippingAddress.company" data-bind="visible: visible, attr: {'name': element.dataScope}, css: additionalClasses">"
    – Luis Garcia
    May 5 '16 at 17:19


















  • I can't check at the moment as I'm on my phone, but I think it's related to a Knockout JS template. Is there anything in the form you can search for, such as a class or id?
    – Ben Crook
    May 4 '16 at 22:13












  • Shipping fields are inside: form id="co-shipping-form". Code for commpany field: <div class="field" name="shippingAddress.company" data-bind="visible: visible, attr: {'name': element.dataScope}, css: additionalClasses">"
    – Luis Garcia
    May 5 '16 at 17:19
















I can't check at the moment as I'm on my phone, but I think it's related to a Knockout JS template. Is there anything in the form you can search for, such as a class or id?
– Ben Crook
May 4 '16 at 22:13






I can't check at the moment as I'm on my phone, but I think it's related to a Knockout JS template. Is there anything in the form you can search for, such as a class or id?
– Ben Crook
May 4 '16 at 22:13














Shipping fields are inside: form id="co-shipping-form". Code for commpany field: <div class="field" name="shippingAddress.company" data-bind="visible: visible, attr: {'name': element.dataScope}, css: additionalClasses">"
– Luis Garcia
May 5 '16 at 17:19




Shipping fields are inside: form id="co-shipping-form". Code for commpany field: <div class="field" name="shippingAddress.company" data-bind="visible: visible, attr: {'name': element.dataScope}, css: additionalClasses">"
– Luis Garcia
May 5 '16 at 17:19










6 Answers
6






active

oldest

votes


















17














Temporarily, we should try:



<item name="company" xsi:type="array">
<item name="visible" xsi:type="boolean">false</item>
</item>


For example, in app/design/frontend/{Vendor Theme}/{Theme}/Magento_Checkout/layout/checkout_index_index.xml, find the component that you need to customize. Copy the corresponding node and all parent nodes up to . We're going to remove/disable telephone and company fields:



<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
layout="1column" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<referenceBlock name="checkout.root">
<arguments>
<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="steps" xsi:type="array">
<item name="children" xsi:type="array">
<item name="shipping-step" xsi:type="array">
<item name="children" xsi:type="array">
<item name="shippingAddress" xsi:type="array">
<item name="children" xsi:type="array">
<!-- The name of the form the field belongs to -->
<item name="shipping-address-fieldset" xsi:type="array">
<item name="children" xsi:type="array">
<!--Remove fields-->
<item name="telephone" xsi:type="array">
<item name="visible" xsi:type="boolean">false</item>
</item>
<item name="company" xsi:type="array">
<item name="visible" xsi:type="boolean">false</item>
</item>
</item>
</item>
</item>
</item>
</item>
</item>
</item>
</item>
</item>
</item>
</item>
</argument>
</arguments>
</referenceBlock>
</body>
</page>


[EDIT]:



From Magento 2.2.x



STORES > Configuration > Customersmers > Customer Configuration > Name and Address Options > Show Company > No






share|improve this answer



















  • 1




    It doesn't work
    – Luis Garcia
    May 18 '16 at 18:40










  • Here is the same question: github.com/magento/magento2/issues/3373#event-547267751
    – Khoa TruongDinh
    May 20 '16 at 3:09






  • 1




    STORES > Configuration > Customersmers > Customer Configuration > Name and Address Options > Show Company > No This code works perfectly.
    – Shubham Jaiswal
    Dec 11 '18 at 13:12



















10














I have hide the company field in **Magento 2.1** using below steps:



Copy handle file in app/design/frontend/PackageName/ThemeName/Magento_Checkout/layout/checkout_index_index.xml



replace the below code:



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


with



<item name="company" xsi:type="array">
<item name="visible" xsi:type="boolean">false</item>
<item name="validation" xsi:type="array">
<item name="min_text_length" xsi:type="number">0</item>
</item>
</item>





share|improve this answer





















  • It's enough use only <item name="visible" xsi:type="boolean">false</item>
    – LucScu
    Sep 19 '17 at 9:59



















5














You should try to set false to visible attribute:



<item name="company" xsi:type="array">
<item name="visible" xsi:type="boolean">false</item>
</item>





share|improve this answer























  • It doesn't work.
    – Luis Garcia
    May 17 '16 at 20:32



















5














There is no need for coding,simply go to
Stores > Configuration > Cutomers > Customer Configuration
then in Name and Address Options You set Show Company to No






share|improve this answer





















  • That actually removes the field. Correct. All the other answers in this thread only hide the field.
    – Daan van den Bergh
    Jun 12 '18 at 9:31



















2














Magento Provide Backend Configuration for Company display or not in CHeckout.
enter image description here






share|improve this answer





























    0














    Go to vendor / magento / module-checkout / view / frontend / layout / checkout_index_index.xml



    find:



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


    Replace:



    <item name="company" xsi:type="array">
    <item name="visible" xsi:type="boolean">false</item>
    <item name="validation" xsi:type="array">
    <item name="min_text_length" xsi:type="number">0</item>
    </item>
    </item>





    share|improve this answer























    • it's for Magento 2.1.9
      – Atish Dipankar Baidya
      Apr 5 '18 at 9:19










    • you are recommending edit to the core which is not good, replace with proper way to set this value using best practices
      – Xenocide8998
      Nov 1 '18 at 21:44











    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "479"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f113992%2fhow-to-remove-company-field-from-checkout-process-in-magento-2%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    6 Answers
    6






    active

    oldest

    votes








    6 Answers
    6






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    17














    Temporarily, we should try:



    <item name="company" xsi:type="array">
    <item name="visible" xsi:type="boolean">false</item>
    </item>


    For example, in app/design/frontend/{Vendor Theme}/{Theme}/Magento_Checkout/layout/checkout_index_index.xml, find the component that you need to customize. Copy the corresponding node and all parent nodes up to . We're going to remove/disable telephone and company fields:



    <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    layout="1column" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <body>
    <referenceBlock name="checkout.root">
    <arguments>
    <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="steps" xsi:type="array">
    <item name="children" xsi:type="array">
    <item name="shipping-step" xsi:type="array">
    <item name="children" xsi:type="array">
    <item name="shippingAddress" xsi:type="array">
    <item name="children" xsi:type="array">
    <!-- The name of the form the field belongs to -->
    <item name="shipping-address-fieldset" xsi:type="array">
    <item name="children" xsi:type="array">
    <!--Remove fields-->
    <item name="telephone" xsi:type="array">
    <item name="visible" xsi:type="boolean">false</item>
    </item>
    <item name="company" xsi:type="array">
    <item name="visible" xsi:type="boolean">false</item>
    </item>
    </item>
    </item>
    </item>
    </item>
    </item>
    </item>
    </item>
    </item>
    </item>
    </item>
    </item>
    </argument>
    </arguments>
    </referenceBlock>
    </body>
    </page>


    [EDIT]:



    From Magento 2.2.x



    STORES > Configuration > Customersmers > Customer Configuration > Name and Address Options > Show Company > No






    share|improve this answer



















    • 1




      It doesn't work
      – Luis Garcia
      May 18 '16 at 18:40










    • Here is the same question: github.com/magento/magento2/issues/3373#event-547267751
      – Khoa TruongDinh
      May 20 '16 at 3:09






    • 1




      STORES > Configuration > Customersmers > Customer Configuration > Name and Address Options > Show Company > No This code works perfectly.
      – Shubham Jaiswal
      Dec 11 '18 at 13:12
















    17














    Temporarily, we should try:



    <item name="company" xsi:type="array">
    <item name="visible" xsi:type="boolean">false</item>
    </item>


    For example, in app/design/frontend/{Vendor Theme}/{Theme}/Magento_Checkout/layout/checkout_index_index.xml, find the component that you need to customize. Copy the corresponding node and all parent nodes up to . We're going to remove/disable telephone and company fields:



    <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    layout="1column" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <body>
    <referenceBlock name="checkout.root">
    <arguments>
    <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="steps" xsi:type="array">
    <item name="children" xsi:type="array">
    <item name="shipping-step" xsi:type="array">
    <item name="children" xsi:type="array">
    <item name="shippingAddress" xsi:type="array">
    <item name="children" xsi:type="array">
    <!-- The name of the form the field belongs to -->
    <item name="shipping-address-fieldset" xsi:type="array">
    <item name="children" xsi:type="array">
    <!--Remove fields-->
    <item name="telephone" xsi:type="array">
    <item name="visible" xsi:type="boolean">false</item>
    </item>
    <item name="company" xsi:type="array">
    <item name="visible" xsi:type="boolean">false</item>
    </item>
    </item>
    </item>
    </item>
    </item>
    </item>
    </item>
    </item>
    </item>
    </item>
    </item>
    </item>
    </argument>
    </arguments>
    </referenceBlock>
    </body>
    </page>


    [EDIT]:



    From Magento 2.2.x



    STORES > Configuration > Customersmers > Customer Configuration > Name and Address Options > Show Company > No






    share|improve this answer



















    • 1




      It doesn't work
      – Luis Garcia
      May 18 '16 at 18:40










    • Here is the same question: github.com/magento/magento2/issues/3373#event-547267751
      – Khoa TruongDinh
      May 20 '16 at 3:09






    • 1




      STORES > Configuration > Customersmers > Customer Configuration > Name and Address Options > Show Company > No This code works perfectly.
      – Shubham Jaiswal
      Dec 11 '18 at 13:12














    17












    17








    17






    Temporarily, we should try:



    <item name="company" xsi:type="array">
    <item name="visible" xsi:type="boolean">false</item>
    </item>


    For example, in app/design/frontend/{Vendor Theme}/{Theme}/Magento_Checkout/layout/checkout_index_index.xml, find the component that you need to customize. Copy the corresponding node and all parent nodes up to . We're going to remove/disable telephone and company fields:



    <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    layout="1column" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <body>
    <referenceBlock name="checkout.root">
    <arguments>
    <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="steps" xsi:type="array">
    <item name="children" xsi:type="array">
    <item name="shipping-step" xsi:type="array">
    <item name="children" xsi:type="array">
    <item name="shippingAddress" xsi:type="array">
    <item name="children" xsi:type="array">
    <!-- The name of the form the field belongs to -->
    <item name="shipping-address-fieldset" xsi:type="array">
    <item name="children" xsi:type="array">
    <!--Remove fields-->
    <item name="telephone" xsi:type="array">
    <item name="visible" xsi:type="boolean">false</item>
    </item>
    <item name="company" xsi:type="array">
    <item name="visible" xsi:type="boolean">false</item>
    </item>
    </item>
    </item>
    </item>
    </item>
    </item>
    </item>
    </item>
    </item>
    </item>
    </item>
    </item>
    </argument>
    </arguments>
    </referenceBlock>
    </body>
    </page>


    [EDIT]:



    From Magento 2.2.x



    STORES > Configuration > Customersmers > Customer Configuration > Name and Address Options > Show Company > No






    share|improve this answer














    Temporarily, we should try:



    <item name="company" xsi:type="array">
    <item name="visible" xsi:type="boolean">false</item>
    </item>


    For example, in app/design/frontend/{Vendor Theme}/{Theme}/Magento_Checkout/layout/checkout_index_index.xml, find the component that you need to customize. Copy the corresponding node and all parent nodes up to . We're going to remove/disable telephone and company fields:



    <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    layout="1column" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <body>
    <referenceBlock name="checkout.root">
    <arguments>
    <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="steps" xsi:type="array">
    <item name="children" xsi:type="array">
    <item name="shipping-step" xsi:type="array">
    <item name="children" xsi:type="array">
    <item name="shippingAddress" xsi:type="array">
    <item name="children" xsi:type="array">
    <!-- The name of the form the field belongs to -->
    <item name="shipping-address-fieldset" xsi:type="array">
    <item name="children" xsi:type="array">
    <!--Remove fields-->
    <item name="telephone" xsi:type="array">
    <item name="visible" xsi:type="boolean">false</item>
    </item>
    <item name="company" xsi:type="array">
    <item name="visible" xsi:type="boolean">false</item>
    </item>
    </item>
    </item>
    </item>
    </item>
    </item>
    </item>
    </item>
    </item>
    </item>
    </item>
    </item>
    </argument>
    </arguments>
    </referenceBlock>
    </body>
    </page>


    [EDIT]:



    From Magento 2.2.x



    STORES > Configuration > Customersmers > Customer Configuration > Name and Address Options > Show Company > No







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited yesterday

























    answered May 18 '16 at 9:02









    Khoa TruongDinhKhoa TruongDinh

    20.9k63884




    20.9k63884








    • 1




      It doesn't work
      – Luis Garcia
      May 18 '16 at 18:40










    • Here is the same question: github.com/magento/magento2/issues/3373#event-547267751
      – Khoa TruongDinh
      May 20 '16 at 3:09






    • 1




      STORES > Configuration > Customersmers > Customer Configuration > Name and Address Options > Show Company > No This code works perfectly.
      – Shubham Jaiswal
      Dec 11 '18 at 13:12














    • 1




      It doesn't work
      – Luis Garcia
      May 18 '16 at 18:40










    • Here is the same question: github.com/magento/magento2/issues/3373#event-547267751
      – Khoa TruongDinh
      May 20 '16 at 3:09






    • 1




      STORES > Configuration > Customersmers > Customer Configuration > Name and Address Options > Show Company > No This code works perfectly.
      – Shubham Jaiswal
      Dec 11 '18 at 13:12








    1




    1




    It doesn't work
    – Luis Garcia
    May 18 '16 at 18:40




    It doesn't work
    – Luis Garcia
    May 18 '16 at 18:40












    Here is the same question: github.com/magento/magento2/issues/3373#event-547267751
    – Khoa TruongDinh
    May 20 '16 at 3:09




    Here is the same question: github.com/magento/magento2/issues/3373#event-547267751
    – Khoa TruongDinh
    May 20 '16 at 3:09




    1




    1




    STORES > Configuration > Customersmers > Customer Configuration > Name and Address Options > Show Company > No This code works perfectly.
    – Shubham Jaiswal
    Dec 11 '18 at 13:12




    STORES > Configuration > Customersmers > Customer Configuration > Name and Address Options > Show Company > No This code works perfectly.
    – Shubham Jaiswal
    Dec 11 '18 at 13:12













    10














    I have hide the company field in **Magento 2.1** using below steps:



    Copy handle file in app/design/frontend/PackageName/ThemeName/Magento_Checkout/layout/checkout_index_index.xml



    replace the below code:



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


    with



    <item name="company" xsi:type="array">
    <item name="visible" xsi:type="boolean">false</item>
    <item name="validation" xsi:type="array">
    <item name="min_text_length" xsi:type="number">0</item>
    </item>
    </item>





    share|improve this answer





















    • It's enough use only <item name="visible" xsi:type="boolean">false</item>
      – LucScu
      Sep 19 '17 at 9:59
















    10














    I have hide the company field in **Magento 2.1** using below steps:



    Copy handle file in app/design/frontend/PackageName/ThemeName/Magento_Checkout/layout/checkout_index_index.xml



    replace the below code:



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


    with



    <item name="company" xsi:type="array">
    <item name="visible" xsi:type="boolean">false</item>
    <item name="validation" xsi:type="array">
    <item name="min_text_length" xsi:type="number">0</item>
    </item>
    </item>





    share|improve this answer





















    • It's enough use only <item name="visible" xsi:type="boolean">false</item>
      – LucScu
      Sep 19 '17 at 9:59














    10












    10








    10






    I have hide the company field in **Magento 2.1** using below steps:



    Copy handle file in app/design/frontend/PackageName/ThemeName/Magento_Checkout/layout/checkout_index_index.xml



    replace the below code:



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


    with



    <item name="company" xsi:type="array">
    <item name="visible" xsi:type="boolean">false</item>
    <item name="validation" xsi:type="array">
    <item name="min_text_length" xsi:type="number">0</item>
    </item>
    </item>





    share|improve this answer












    I have hide the company field in **Magento 2.1** using below steps:



    Copy handle file in app/design/frontend/PackageName/ThemeName/Magento_Checkout/layout/checkout_index_index.xml



    replace the below code:



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


    with



    <item name="company" xsi:type="array">
    <item name="visible" xsi:type="boolean">false</item>
    <item name="validation" xsi:type="array">
    <item name="min_text_length" xsi:type="number">0</item>
    </item>
    </item>






    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Aug 2 '16 at 12:23









    Suman SinghSuman Singh

    554413




    554413












    • It's enough use only <item name="visible" xsi:type="boolean">false</item>
      – LucScu
      Sep 19 '17 at 9:59


















    • It's enough use only <item name="visible" xsi:type="boolean">false</item>
      – LucScu
      Sep 19 '17 at 9:59
















    It's enough use only <item name="visible" xsi:type="boolean">false</item>
    – LucScu
    Sep 19 '17 at 9:59




    It's enough use only <item name="visible" xsi:type="boolean">false</item>
    – LucScu
    Sep 19 '17 at 9:59











    5














    You should try to set false to visible attribute:



    <item name="company" xsi:type="array">
    <item name="visible" xsi:type="boolean">false</item>
    </item>





    share|improve this answer























    • It doesn't work.
      – Luis Garcia
      May 17 '16 at 20:32
















    5














    You should try to set false to visible attribute:



    <item name="company" xsi:type="array">
    <item name="visible" xsi:type="boolean">false</item>
    </item>





    share|improve this answer























    • It doesn't work.
      – Luis Garcia
      May 17 '16 at 20:32














    5












    5








    5






    You should try to set false to visible attribute:



    <item name="company" xsi:type="array">
    <item name="visible" xsi:type="boolean">false</item>
    </item>





    share|improve this answer














    You should try to set false to visible attribute:



    <item name="company" xsi:type="array">
    <item name="visible" xsi:type="boolean">false</item>
    </item>






    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited May 16 '16 at 18:33









    7ochem

    5,72193668




    5,72193668










    answered May 16 '16 at 16:51









    yukliayuklia

    1512




    1512












    • It doesn't work.
      – Luis Garcia
      May 17 '16 at 20:32


















    • It doesn't work.
      – Luis Garcia
      May 17 '16 at 20:32
















    It doesn't work.
    – Luis Garcia
    May 17 '16 at 20:32




    It doesn't work.
    – Luis Garcia
    May 17 '16 at 20:32











    5














    There is no need for coding,simply go to
    Stores > Configuration > Cutomers > Customer Configuration
    then in Name and Address Options You set Show Company to No






    share|improve this answer





















    • That actually removes the field. Correct. All the other answers in this thread only hide the field.
      – Daan van den Bergh
      Jun 12 '18 at 9:31
















    5














    There is no need for coding,simply go to
    Stores > Configuration > Cutomers > Customer Configuration
    then in Name and Address Options You set Show Company to No






    share|improve this answer





















    • That actually removes the field. Correct. All the other answers in this thread only hide the field.
      – Daan van den Bergh
      Jun 12 '18 at 9:31














    5












    5








    5






    There is no need for coding,simply go to
    Stores > Configuration > Cutomers > Customer Configuration
    then in Name and Address Options You set Show Company to No






    share|improve this answer












    There is no need for coding,simply go to
    Stores > Configuration > Cutomers > Customer Configuration
    then in Name and Address Options You set Show Company to No







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Jan 27 '18 at 4:58









    عارف بن الأزرقعارف بن الأزرق

    15113




    15113












    • That actually removes the field. Correct. All the other answers in this thread only hide the field.
      – Daan van den Bergh
      Jun 12 '18 at 9:31


















    • That actually removes the field. Correct. All the other answers in this thread only hide the field.
      – Daan van den Bergh
      Jun 12 '18 at 9:31
















    That actually removes the field. Correct. All the other answers in this thread only hide the field.
    – Daan van den Bergh
    Jun 12 '18 at 9:31




    That actually removes the field. Correct. All the other answers in this thread only hide the field.
    – Daan van den Bergh
    Jun 12 '18 at 9:31











    2














    Magento Provide Backend Configuration for Company display or not in CHeckout.
    enter image description here






    share|improve this answer


























      2














      Magento Provide Backend Configuration for Company display or not in CHeckout.
      enter image description here






      share|improve this answer
























        2












        2








        2






        Magento Provide Backend Configuration for Company display or not in CHeckout.
        enter image description here






        share|improve this answer












        Magento Provide Backend Configuration for Company display or not in CHeckout.
        enter image description here







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Aug 3 '18 at 5:05









        Sanjay ChauhanSanjay Chauhan

        697




        697























            0














            Go to vendor / magento / module-checkout / view / frontend / layout / checkout_index_index.xml



            find:



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


            Replace:



            <item name="company" xsi:type="array">
            <item name="visible" xsi:type="boolean">false</item>
            <item name="validation" xsi:type="array">
            <item name="min_text_length" xsi:type="number">0</item>
            </item>
            </item>





            share|improve this answer























            • it's for Magento 2.1.9
              – Atish Dipankar Baidya
              Apr 5 '18 at 9:19










            • you are recommending edit to the core which is not good, replace with proper way to set this value using best practices
              – Xenocide8998
              Nov 1 '18 at 21:44
















            0














            Go to vendor / magento / module-checkout / view / frontend / layout / checkout_index_index.xml



            find:



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


            Replace:



            <item name="company" xsi:type="array">
            <item name="visible" xsi:type="boolean">false</item>
            <item name="validation" xsi:type="array">
            <item name="min_text_length" xsi:type="number">0</item>
            </item>
            </item>





            share|improve this answer























            • it's for Magento 2.1.9
              – Atish Dipankar Baidya
              Apr 5 '18 at 9:19










            • you are recommending edit to the core which is not good, replace with proper way to set this value using best practices
              – Xenocide8998
              Nov 1 '18 at 21:44














            0












            0








            0






            Go to vendor / magento / module-checkout / view / frontend / layout / checkout_index_index.xml



            find:



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


            Replace:



            <item name="company" xsi:type="array">
            <item name="visible" xsi:type="boolean">false</item>
            <item name="validation" xsi:type="array">
            <item name="min_text_length" xsi:type="number">0</item>
            </item>
            </item>





            share|improve this answer














            Go to vendor / magento / module-checkout / view / frontend / layout / checkout_index_index.xml



            find:



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


            Replace:



            <item name="company" xsi:type="array">
            <item name="visible" xsi:type="boolean">false</item>
            <item name="validation" xsi:type="array">
            <item name="min_text_length" xsi:type="number">0</item>
            </item>
            </item>






            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Feb 28 '18 at 10:20









            Manoj Deswal

            4,27581742




            4,27581742










            answered Feb 28 '18 at 10:16









            Atish Dipankar BaidyaAtish Dipankar Baidya

            277




            277












            • it's for Magento 2.1.9
              – Atish Dipankar Baidya
              Apr 5 '18 at 9:19










            • you are recommending edit to the core which is not good, replace with proper way to set this value using best practices
              – Xenocide8998
              Nov 1 '18 at 21:44


















            • it's for Magento 2.1.9
              – Atish Dipankar Baidya
              Apr 5 '18 at 9:19










            • you are recommending edit to the core which is not good, replace with proper way to set this value using best practices
              – Xenocide8998
              Nov 1 '18 at 21:44
















            it's for Magento 2.1.9
            – Atish Dipankar Baidya
            Apr 5 '18 at 9:19




            it's for Magento 2.1.9
            – Atish Dipankar Baidya
            Apr 5 '18 at 9:19












            you are recommending edit to the core which is not good, replace with proper way to set this value using best practices
            – Xenocide8998
            Nov 1 '18 at 21:44




            you are recommending edit to the core which is not good, replace with proper way to set this value using best practices
            – Xenocide8998
            Nov 1 '18 at 21:44


















            draft saved

            draft discarded




















































            Thanks for contributing an answer to Magento Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f113992%2fhow-to-remove-company-field-from-checkout-process-in-magento-2%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            An IMO inspired problem

            Management

            Has there ever been an instance of an active nuclear power plant within or near a war zone?