Magento 2 core config.xml overrideconfig.xml vs local.xmlHow to override config.xmlMagento Extension config.xml conflictsAdd IFCONFIG in config.xmlConfig.xml override not workingHow can we edit config.xml file of a core module?How to Override `Config.xml`magento 2 override core module blocksOverride Magento 2 core JS file Without affecting core functioniltiesAddress Information And Customer address are not showing in magento 2

Is "plugging out" electronic devices an American expression?

aging parents with no investments

How to answer pointed "are you quitting" questioning when I don't want them to suspect

Need help identifying/translating a plaque in Tangier, Morocco

Why airport relocation isn't done gradually?

What does 'script /dev/null' do?

What happens when a metallic dragon and a chromatic dragon mate?

Can the Produce Flame cantrip be used to grapple, or as an unarmed strike, in the right circumstances?

When blogging recipes, how can I support both readers who want the narrative/journey and ones who want the printer-friendly recipe?

Unbreakable Formation vs. Cry of the Carnarium

What does "enim et" mean?

Lied on resume at previous job

What do you call words made from common English words?

Prime joint compound before latex paint?

New order #4: World

Eliminate empty elements from a list with a specific pattern

What do you call something that goes against the spirit of the law, but is legal when interpreting the law to the letter?

Add an angle to a sphere

Doomsday-clock for my fantasy planet

What to wear for invited talk in Canada

Symmetry in quantum mechanics

Does the average primeness of natural numbers tend to zero?

Finding files for which a command fails

What are the advantages and disadvantages of running one shots compared to campaigns?



Magento 2 core config.xml override


config.xml vs local.xmlHow to override config.xmlMagento Extension config.xml conflictsAdd IFCONFIG in config.xmlConfig.xml override not workingHow can we edit config.xml file of a core module?How to Override `Config.xml`magento 2 override core module blocksOverride Magento 2 core JS file Without affecting core functioniltiesAddress Information And Customer address are not showing in magento 2






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








3















I'd like to override the address layout defined in MagentoCustomeretcconfig.xml -> default | customer | address_templates | oneline | html



In Magento 1, we could re-define a config.xml file in the local pool or in a module, and everything got mashed together and our new values over-rode it.



However, this doesn't seem to work in Magento 2, assuming from the documentation that config.xml only affects the scope of the module? So, I've tried adding:



Vendor/Namespace/etc/config.xml or Vendor/Namespace/etc/frontend/config.xml with the following content:



<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Store:etc/config.xsd">
<default>
<customer>
<address_templates>
<html><![CDATA[depend prefixvar prefix /dependvar firstname depend middlenamevar middlename /dependvar lastnamedepend suffix var suffix/dependdepend firstname<br/>/depend
depend companyvar company<br />/depend
if street1var street1<br />/if
depend street2var street2<br />/depend
depend street3var street3<br />/depend
depend street4var street4<br />/depend
if cityvar city, /ifif regionvar region, /ifif postcodevar postcode/if<br/>
var country<br/>
depend telephoneTelephone: var telephone/depend
depend fax<br/>F: var fax/depend
depend vat_id<br/>VAT: var vat_id/depend]]>
</html>
</address_templates>
</customer>
</default>
</config>


However, I don't get the change (Telephone: instead of T: in this quick example).



EDIT: module.xml looks like this:



<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Vendor_Namespace" setup_version="0.1.0">
<sequence>
<module name="Magento_Customer"/>
</sequence>
</module>




Do I need to create my own renderer for this and add a preference to use it, or am I missing something?










share|improve this question






























    3















    I'd like to override the address layout defined in MagentoCustomeretcconfig.xml -> default | customer | address_templates | oneline | html



    In Magento 1, we could re-define a config.xml file in the local pool or in a module, and everything got mashed together and our new values over-rode it.



    However, this doesn't seem to work in Magento 2, assuming from the documentation that config.xml only affects the scope of the module? So, I've tried adding:



    Vendor/Namespace/etc/config.xml or Vendor/Namespace/etc/frontend/config.xml with the following content:



    <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Store:etc/config.xsd">
    <default>
    <customer>
    <address_templates>
    <html><![CDATA[depend prefixvar prefix /dependvar firstname depend middlenamevar middlename /dependvar lastnamedepend suffix var suffix/dependdepend firstname<br/>/depend
    depend companyvar company<br />/depend
    if street1var street1<br />/if
    depend street2var street2<br />/depend
    depend street3var street3<br />/depend
    depend street4var street4<br />/depend
    if cityvar city, /ifif regionvar region, /ifif postcodevar postcode/if<br/>
    var country<br/>
    depend telephoneTelephone: var telephone/depend
    depend fax<br/>F: var fax/depend
    depend vat_id<br/>VAT: var vat_id/depend]]>
    </html>
    </address_templates>
    </customer>
    </default>
    </config>


    However, I don't get the change (Telephone: instead of T: in this quick example).



    EDIT: module.xml looks like this:



    <?xml version="1.0"?>
    <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
    <module name="Vendor_Namespace" setup_version="0.1.0">
    <sequence>
    <module name="Magento_Customer"/>
    </sequence>
    </module>




    Do I need to create my own renderer for this and add a preference to use it, or am I missing something?










    share|improve this question


























      3












      3








      3


      1






      I'd like to override the address layout defined in MagentoCustomeretcconfig.xml -> default | customer | address_templates | oneline | html



      In Magento 1, we could re-define a config.xml file in the local pool or in a module, and everything got mashed together and our new values over-rode it.



      However, this doesn't seem to work in Magento 2, assuming from the documentation that config.xml only affects the scope of the module? So, I've tried adding:



      Vendor/Namespace/etc/config.xml or Vendor/Namespace/etc/frontend/config.xml with the following content:



      <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Store:etc/config.xsd">
      <default>
      <customer>
      <address_templates>
      <html><![CDATA[depend prefixvar prefix /dependvar firstname depend middlenamevar middlename /dependvar lastnamedepend suffix var suffix/dependdepend firstname<br/>/depend
      depend companyvar company<br />/depend
      if street1var street1<br />/if
      depend street2var street2<br />/depend
      depend street3var street3<br />/depend
      depend street4var street4<br />/depend
      if cityvar city, /ifif regionvar region, /ifif postcodevar postcode/if<br/>
      var country<br/>
      depend telephoneTelephone: var telephone/depend
      depend fax<br/>F: var fax/depend
      depend vat_id<br/>VAT: var vat_id/depend]]>
      </html>
      </address_templates>
      </customer>
      </default>
      </config>


      However, I don't get the change (Telephone: instead of T: in this quick example).



      EDIT: module.xml looks like this:



      <?xml version="1.0"?>
      <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
      <module name="Vendor_Namespace" setup_version="0.1.0">
      <sequence>
      <module name="Magento_Customer"/>
      </sequence>
      </module>




      Do I need to create my own renderer for this and add a preference to use it, or am I missing something?










      share|improve this question
















      I'd like to override the address layout defined in MagentoCustomeretcconfig.xml -> default | customer | address_templates | oneline | html



      In Magento 1, we could re-define a config.xml file in the local pool or in a module, and everything got mashed together and our new values over-rode it.



      However, this doesn't seem to work in Magento 2, assuming from the documentation that config.xml only affects the scope of the module? So, I've tried adding:



      Vendor/Namespace/etc/config.xml or Vendor/Namespace/etc/frontend/config.xml with the following content:



      <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Store:etc/config.xsd">
      <default>
      <customer>
      <address_templates>
      <html><![CDATA[depend prefixvar prefix /dependvar firstname depend middlenamevar middlename /dependvar lastnamedepend suffix var suffix/dependdepend firstname<br/>/depend
      depend companyvar company<br />/depend
      if street1var street1<br />/if
      depend street2var street2<br />/depend
      depend street3var street3<br />/depend
      depend street4var street4<br />/depend
      if cityvar city, /ifif regionvar region, /ifif postcodevar postcode/if<br/>
      var country<br/>
      depend telephoneTelephone: var telephone/depend
      depend fax<br/>F: var fax/depend
      depend vat_id<br/>VAT: var vat_id/depend]]>
      </html>
      </address_templates>
      </customer>
      </default>
      </config>


      However, I don't get the change (Telephone: instead of T: in this quick example).



      EDIT: module.xml looks like this:



      <?xml version="1.0"?>
      <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
      <module name="Vendor_Namespace" setup_version="0.1.0">
      <sequence>
      <module name="Magento_Customer"/>
      </sequence>
      </module>




      Do I need to create my own renderer for this and add a preference to use it, or am I missing something?







      magento-2.1 configuration






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jan 4 '17 at 19:04







      Douglas Radburn

















      asked Jan 4 '17 at 16:12









      Douglas RadburnDouglas Radburn

      1,8851027




      1,8851027




















          3 Answers
          3






          active

          oldest

          votes


















          2














          It is possible to change this in the admin of Magento. At Stores > Configuration > Customers > Customer Configuration, you can find the 'Address Templates'. You can change the T: to Telephone: for HTML and PDF over there.






          share|improve this answer






























            0














            In the module.xml file of your M2 module you can set a sequence node which is basically the same as the depends node present in M1 app/etc/company_mymodule.xml file for the module company_mymodule. Have you set this sequence in your M2 module's config.xml?






            share|improve this answer























            • Hi! The sequence node is currently <sequence> <module name="Magento_Customer"/> </sequence>

              – Douglas Radburn
              Jan 4 '17 at 19:03


















            0














            Create your module and add the sequence so it runs after Magento_Customer





            <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
            <module name="MyModule_Customer" >
            <sequence>
            <module name="Magento_Customer"/>
            </sequence>
            </module>
            </config>


            Add the config.xml in app/code/MyModule/Customer/etc/config.xml



            <?xml version="1.0"?>
            <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Store:etc/config.xsd">
            <default>
            <customer>
            <address_templates>
            <text>depend prefixvar prefix /dependvar firstname depend middlenamevar middlename /dependvar lastnamedepend suffix var suffix/depend
            depend companyvar company/depend
            if street1var street1
            /if
            depend street2var street2/depend
            depend street3var street3/depend
            depend street4var street4/depend
            if cityvar city, /ifif regionvar region, /ifif postcodevar postcode/if
            var country
            depend telephoneT: var telephone/depend
            depend faxF: var fax/depend
            depend vat_idVAT: var vat_id/depend</text>
            <oneline>depend prefixvar prefix /dependvar firstname depend middlenamevar middlename /dependvar lastnamedepend suffix var suffix/depend, var street, var city, var region var postcode, var country</oneline>
            <html><![CDATA[depend prefixvar prefix /dependvar firstname depend middlenamevar middlename /dependvar lastnamedepend suffix var suffix/dependdepend firstname<br />/depend
            depend companyvar company<br />/depend
            if street1var street1<br />/if
            depend street2var street2<br />/depend
            depend street3var street3<br />/depend
            depend street4var street4<br />/depend
            if cityvar city, /ifif regionvar region, /ifif postcodevar postcode/if<br />
            var country<br />
            depend telephoneT: var telephone/depend
            depend fax<br />F: var fax/depend
            depend vat_id<br />VAT: var vat_id/depend]]></html>
            <pdf><![CDATA[depend prefixvar prefix /dependvar firstname depend middlenamevar middlename /dependvar lastnamedepend suffix var suffix/depend|
            depend companyvar company|/depend
            if street1var street1|/if
            depend street2var street2|/depend
            depend street3var street3|/depend
            depend street4var street4|/depend
            if cityvar city, /ifif regionvar region, /ifif postcodevar postcode/if|
            var country|
            depend telephoneT: var telephone|/depend
            depend faxF: var fax|/depend|
            depend vat_idVAT: var vat_id/depend|]]></pdf>
            </address_templates>
            </customer>
            </default>
            </config>


            In the above I have removed the telephone link, which is on the default XML template in /vendor/magento/module-customer/etc/config.xml



            Run grunt refresh and do a cache:clean and/or static content deployment.






            share|improve this answer























              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%2f153141%2fmagento-2-core-config-xml-override%23new-answer', 'question_page');

              );

              Post as a guest















              Required, but never shown

























              3 Answers
              3






              active

              oldest

              votes








              3 Answers
              3






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              2














              It is possible to change this in the admin of Magento. At Stores > Configuration > Customers > Customer Configuration, you can find the 'Address Templates'. You can change the T: to Telephone: for HTML and PDF over there.






              share|improve this answer



























                2














                It is possible to change this in the admin of Magento. At Stores > Configuration > Customers > Customer Configuration, you can find the 'Address Templates'. You can change the T: to Telephone: for HTML and PDF over there.






                share|improve this answer

























                  2












                  2








                  2







                  It is possible to change this in the admin of Magento. At Stores > Configuration > Customers > Customer Configuration, you can find the 'Address Templates'. You can change the T: to Telephone: for HTML and PDF over there.






                  share|improve this answer













                  It is possible to change this in the admin of Magento. At Stores > Configuration > Customers > Customer Configuration, you can find the 'Address Templates'. You can change the T: to Telephone: for HTML and PDF over there.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Jan 13 '17 at 10:53









                  mikesteeghsmikesteeghs

                  12510




                  12510























                      0














                      In the module.xml file of your M2 module you can set a sequence node which is basically the same as the depends node present in M1 app/etc/company_mymodule.xml file for the module company_mymodule. Have you set this sequence in your M2 module's config.xml?






                      share|improve this answer























                      • Hi! The sequence node is currently <sequence> <module name="Magento_Customer"/> </sequence>

                        – Douglas Radburn
                        Jan 4 '17 at 19:03















                      0














                      In the module.xml file of your M2 module you can set a sequence node which is basically the same as the depends node present in M1 app/etc/company_mymodule.xml file for the module company_mymodule. Have you set this sequence in your M2 module's config.xml?






                      share|improve this answer























                      • Hi! The sequence node is currently <sequence> <module name="Magento_Customer"/> </sequence>

                        – Douglas Radburn
                        Jan 4 '17 at 19:03













                      0












                      0








                      0







                      In the module.xml file of your M2 module you can set a sequence node which is basically the same as the depends node present in M1 app/etc/company_mymodule.xml file for the module company_mymodule. Have you set this sequence in your M2 module's config.xml?






                      share|improve this answer













                      In the module.xml file of your M2 module you can set a sequence node which is basically the same as the depends node present in M1 app/etc/company_mymodule.xml file for the module company_mymodule. Have you set this sequence in your M2 module's config.xml?







                      share|improve this answer












                      share|improve this answer



                      share|improve this answer










                      answered Jan 4 '17 at 17:02









                      Paras SoodParas Sood

                      2,3551719




                      2,3551719












                      • Hi! The sequence node is currently <sequence> <module name="Magento_Customer"/> </sequence>

                        – Douglas Radburn
                        Jan 4 '17 at 19:03

















                      • Hi! The sequence node is currently <sequence> <module name="Magento_Customer"/> </sequence>

                        – Douglas Radburn
                        Jan 4 '17 at 19:03
















                      Hi! The sequence node is currently <sequence> <module name="Magento_Customer"/> </sequence>

                      – Douglas Radburn
                      Jan 4 '17 at 19:03





                      Hi! The sequence node is currently <sequence> <module name="Magento_Customer"/> </sequence>

                      – Douglas Radburn
                      Jan 4 '17 at 19:03











                      0














                      Create your module and add the sequence so it runs after Magento_Customer





                      <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
                      <module name="MyModule_Customer" >
                      <sequence>
                      <module name="Magento_Customer"/>
                      </sequence>
                      </module>
                      </config>


                      Add the config.xml in app/code/MyModule/Customer/etc/config.xml



                      <?xml version="1.0"?>
                      <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Store:etc/config.xsd">
                      <default>
                      <customer>
                      <address_templates>
                      <text>depend prefixvar prefix /dependvar firstname depend middlenamevar middlename /dependvar lastnamedepend suffix var suffix/depend
                      depend companyvar company/depend
                      if street1var street1
                      /if
                      depend street2var street2/depend
                      depend street3var street3/depend
                      depend street4var street4/depend
                      if cityvar city, /ifif regionvar region, /ifif postcodevar postcode/if
                      var country
                      depend telephoneT: var telephone/depend
                      depend faxF: var fax/depend
                      depend vat_idVAT: var vat_id/depend</text>
                      <oneline>depend prefixvar prefix /dependvar firstname depend middlenamevar middlename /dependvar lastnamedepend suffix var suffix/depend, var street, var city, var region var postcode, var country</oneline>
                      <html><![CDATA[depend prefixvar prefix /dependvar firstname depend middlenamevar middlename /dependvar lastnamedepend suffix var suffix/dependdepend firstname<br />/depend
                      depend companyvar company<br />/depend
                      if street1var street1<br />/if
                      depend street2var street2<br />/depend
                      depend street3var street3<br />/depend
                      depend street4var street4<br />/depend
                      if cityvar city, /ifif regionvar region, /ifif postcodevar postcode/if<br />
                      var country<br />
                      depend telephoneT: var telephone/depend
                      depend fax<br />F: var fax/depend
                      depend vat_id<br />VAT: var vat_id/depend]]></html>
                      <pdf><![CDATA[depend prefixvar prefix /dependvar firstname depend middlenamevar middlename /dependvar lastnamedepend suffix var suffix/depend|
                      depend companyvar company|/depend
                      if street1var street1|/if
                      depend street2var street2|/depend
                      depend street3var street3|/depend
                      depend street4var street4|/depend
                      if cityvar city, /ifif regionvar region, /ifif postcodevar postcode/if|
                      var country|
                      depend telephoneT: var telephone|/depend
                      depend faxF: var fax|/depend|
                      depend vat_idVAT: var vat_id/depend|]]></pdf>
                      </address_templates>
                      </customer>
                      </default>
                      </config>


                      In the above I have removed the telephone link, which is on the default XML template in /vendor/magento/module-customer/etc/config.xml



                      Run grunt refresh and do a cache:clean and/or static content deployment.






                      share|improve this answer



























                        0














                        Create your module and add the sequence so it runs after Magento_Customer





                        <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
                        <module name="MyModule_Customer" >
                        <sequence>
                        <module name="Magento_Customer"/>
                        </sequence>
                        </module>
                        </config>


                        Add the config.xml in app/code/MyModule/Customer/etc/config.xml



                        <?xml version="1.0"?>
                        <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Store:etc/config.xsd">
                        <default>
                        <customer>
                        <address_templates>
                        <text>depend prefixvar prefix /dependvar firstname depend middlenamevar middlename /dependvar lastnamedepend suffix var suffix/depend
                        depend companyvar company/depend
                        if street1var street1
                        /if
                        depend street2var street2/depend
                        depend street3var street3/depend
                        depend street4var street4/depend
                        if cityvar city, /ifif regionvar region, /ifif postcodevar postcode/if
                        var country
                        depend telephoneT: var telephone/depend
                        depend faxF: var fax/depend
                        depend vat_idVAT: var vat_id/depend</text>
                        <oneline>depend prefixvar prefix /dependvar firstname depend middlenamevar middlename /dependvar lastnamedepend suffix var suffix/depend, var street, var city, var region var postcode, var country</oneline>
                        <html><![CDATA[depend prefixvar prefix /dependvar firstname depend middlenamevar middlename /dependvar lastnamedepend suffix var suffix/dependdepend firstname<br />/depend
                        depend companyvar company<br />/depend
                        if street1var street1<br />/if
                        depend street2var street2<br />/depend
                        depend street3var street3<br />/depend
                        depend street4var street4<br />/depend
                        if cityvar city, /ifif regionvar region, /ifif postcodevar postcode/if<br />
                        var country<br />
                        depend telephoneT: var telephone/depend
                        depend fax<br />F: var fax/depend
                        depend vat_id<br />VAT: var vat_id/depend]]></html>
                        <pdf><![CDATA[depend prefixvar prefix /dependvar firstname depend middlenamevar middlename /dependvar lastnamedepend suffix var suffix/depend|
                        depend companyvar company|/depend
                        if street1var street1|/if
                        depend street2var street2|/depend
                        depend street3var street3|/depend
                        depend street4var street4|/depend
                        if cityvar city, /ifif regionvar region, /ifif postcodevar postcode/if|
                        var country|
                        depend telephoneT: var telephone|/depend
                        depend faxF: var fax|/depend|
                        depend vat_idVAT: var vat_id/depend|]]></pdf>
                        </address_templates>
                        </customer>
                        </default>
                        </config>


                        In the above I have removed the telephone link, which is on the default XML template in /vendor/magento/module-customer/etc/config.xml



                        Run grunt refresh and do a cache:clean and/or static content deployment.






                        share|improve this answer

























                          0












                          0








                          0







                          Create your module and add the sequence so it runs after Magento_Customer





                          <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
                          <module name="MyModule_Customer" >
                          <sequence>
                          <module name="Magento_Customer"/>
                          </sequence>
                          </module>
                          </config>


                          Add the config.xml in app/code/MyModule/Customer/etc/config.xml



                          <?xml version="1.0"?>
                          <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Store:etc/config.xsd">
                          <default>
                          <customer>
                          <address_templates>
                          <text>depend prefixvar prefix /dependvar firstname depend middlenamevar middlename /dependvar lastnamedepend suffix var suffix/depend
                          depend companyvar company/depend
                          if street1var street1
                          /if
                          depend street2var street2/depend
                          depend street3var street3/depend
                          depend street4var street4/depend
                          if cityvar city, /ifif regionvar region, /ifif postcodevar postcode/if
                          var country
                          depend telephoneT: var telephone/depend
                          depend faxF: var fax/depend
                          depend vat_idVAT: var vat_id/depend</text>
                          <oneline>depend prefixvar prefix /dependvar firstname depend middlenamevar middlename /dependvar lastnamedepend suffix var suffix/depend, var street, var city, var region var postcode, var country</oneline>
                          <html><![CDATA[depend prefixvar prefix /dependvar firstname depend middlenamevar middlename /dependvar lastnamedepend suffix var suffix/dependdepend firstname<br />/depend
                          depend companyvar company<br />/depend
                          if street1var street1<br />/if
                          depend street2var street2<br />/depend
                          depend street3var street3<br />/depend
                          depend street4var street4<br />/depend
                          if cityvar city, /ifif regionvar region, /ifif postcodevar postcode/if<br />
                          var country<br />
                          depend telephoneT: var telephone/depend
                          depend fax<br />F: var fax/depend
                          depend vat_id<br />VAT: var vat_id/depend]]></html>
                          <pdf><![CDATA[depend prefixvar prefix /dependvar firstname depend middlenamevar middlename /dependvar lastnamedepend suffix var suffix/depend|
                          depend companyvar company|/depend
                          if street1var street1|/if
                          depend street2var street2|/depend
                          depend street3var street3|/depend
                          depend street4var street4|/depend
                          if cityvar city, /ifif regionvar region, /ifif postcodevar postcode/if|
                          var country|
                          depend telephoneT: var telephone|/depend
                          depend faxF: var fax|/depend|
                          depend vat_idVAT: var vat_id/depend|]]></pdf>
                          </address_templates>
                          </customer>
                          </default>
                          </config>


                          In the above I have removed the telephone link, which is on the default XML template in /vendor/magento/module-customer/etc/config.xml



                          Run grunt refresh and do a cache:clean and/or static content deployment.






                          share|improve this answer













                          Create your module and add the sequence so it runs after Magento_Customer





                          <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
                          <module name="MyModule_Customer" >
                          <sequence>
                          <module name="Magento_Customer"/>
                          </sequence>
                          </module>
                          </config>


                          Add the config.xml in app/code/MyModule/Customer/etc/config.xml



                          <?xml version="1.0"?>
                          <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Store:etc/config.xsd">
                          <default>
                          <customer>
                          <address_templates>
                          <text>depend prefixvar prefix /dependvar firstname depend middlenamevar middlename /dependvar lastnamedepend suffix var suffix/depend
                          depend companyvar company/depend
                          if street1var street1
                          /if
                          depend street2var street2/depend
                          depend street3var street3/depend
                          depend street4var street4/depend
                          if cityvar city, /ifif regionvar region, /ifif postcodevar postcode/if
                          var country
                          depend telephoneT: var telephone/depend
                          depend faxF: var fax/depend
                          depend vat_idVAT: var vat_id/depend</text>
                          <oneline>depend prefixvar prefix /dependvar firstname depend middlenamevar middlename /dependvar lastnamedepend suffix var suffix/depend, var street, var city, var region var postcode, var country</oneline>
                          <html><![CDATA[depend prefixvar prefix /dependvar firstname depend middlenamevar middlename /dependvar lastnamedepend suffix var suffix/dependdepend firstname<br />/depend
                          depend companyvar company<br />/depend
                          if street1var street1<br />/if
                          depend street2var street2<br />/depend
                          depend street3var street3<br />/depend
                          depend street4var street4<br />/depend
                          if cityvar city, /ifif regionvar region, /ifif postcodevar postcode/if<br />
                          var country<br />
                          depend telephoneT: var telephone/depend
                          depend fax<br />F: var fax/depend
                          depend vat_id<br />VAT: var vat_id/depend]]></html>
                          <pdf><![CDATA[depend prefixvar prefix /dependvar firstname depend middlenamevar middlename /dependvar lastnamedepend suffix var suffix/depend|
                          depend companyvar company|/depend
                          if street1var street1|/if
                          depend street2var street2|/depend
                          depend street3var street3|/depend
                          depend street4var street4|/depend
                          if cityvar city, /ifif regionvar region, /ifif postcodevar postcode/if|
                          var country|
                          depend telephoneT: var telephone|/depend
                          depend faxF: var fax|/depend|
                          depend vat_idVAT: var vat_id/depend|]]></pdf>
                          </address_templates>
                          </customer>
                          </default>
                          </config>


                          In the above I have removed the telephone link, which is on the default XML template in /vendor/magento/module-customer/etc/config.xml



                          Run grunt refresh and do a cache:clean and/or static content deployment.







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered 12 hours ago









                          Joel DaveyJoel Davey

                          38028




                          38028



























                              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.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function ()
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f153141%2fmagento-2-core-config-xml-override%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

                              Can not update quote_id field of “quote_item” table magento 2Magento 2.1 - We can't remove the item. (Shopping Cart doesnt allow us to remove items before becomes empty)Add value for custom quote item attribute using REST apiREST API endpoint v1/carts/cartId/items always returns error messageCorrect way to save entries to databaseHow to remove all associated quote objects of a customer completelyMagento 2 - Save value from custom input field to quote_itemGet quote_item data using quote id and product id filter in Magento 2How to set additional data to quote_item table from controller in Magento 2?What is the purpose of additional_data column in quote_item table in magento2Set Custom Price to Quote item magento2 from controller

                              How to solve knockout JS error in Magento 2 Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?(Magento2) knockout.js:3012 Uncaught ReferenceError: Unable to process bindingUnable to process binding Knockout.js magento 2Cannot read property `scopeLabel` of undefined on Product Detail PageCan't get Customer Data on frontend in Magento 2Magento2 Order Summary - unable to process bindingKO templates are not loading in Magento 2.1 applicationgetting knockout js error magento 2Product grid not load -— Unable to process binding Knockout.js magento 2Product form not loaded in magento2Uncaught ReferenceError: Unable to process binding “if: function()return (isShowLegend()) ” magento 2

                              Nissan Patrol Зміст Перше покоління — 4W60 (1951-1960) | Друге покоління — 60 series (1960-1980) | Третє покоління (1980–2002) | Четверте покоління — Y60 (1987–1998) | П'яте покоління — Y61 (1997–2013) | Шосте покоління — Y62 (2010- ) | Посилання | Зноски | Навігаційне менюОфіційний український сайтТест-драйв Nissan Patrol 2010 7-го поколінняNissan PatrolКак мы тестировали Nissan Patrol 2016рвиправивши або дописавши її