How can I change an existing modal in Magento 2? The Next CEO of Stack OverflowMagento 2.1 adding new component type problemMagento 2.1 : Try to load a listing component for a custom model on the product edit pageHow to close a modal in Magento 2Change button text in modal popup minicartMagento2 add new field in bundle item (in option selection)DynamicRows - underscore's function last() is not definedMagento 2 declaring modifier PHP Fatal Error: null given in $modifiersMissing required argument $modifiers of MagentoUiDataProviderModifierPoolGrid action column custom callback with multiple params in magento2

Strange use of "whether ... than ..." in official text

MT "will strike" & LXX "will watch carefully" (Gen 3:15)?

Find the majority element, which appears more than half the time

Direct Implications Between USA and UK in Event of No-Deal Brexit

Why was Sir Cadogan fired?

Finitely generated matrix groups whose eigenvalues are all algebraic

How seriously should I take size and weight limits of hand luggage?

What steps are necessary to read a Modern SSD in Medieval Europe?

Why does sin(x) - sin(y) equal this?

How exploitable/balanced is this homebrew spell: Spell Permanency?

Creating a script with console commands

Mathematica command that allows it to read my intentions

Is it possible to create a QR code using text?

Why do we say “un seul M” and not “une seule M” even though M is a “consonne”?

"Eavesdropping" vs "Listen in on"

What is a typical Mizrachi Seder like?

Is the offspring between a demon and a celestial possible? If so what is it called and is it in a book somewhere?

Can you teleport closer to a creature you are Frightened of?

How should I connect my cat5 cable to connectors having an orange-green line?

Shortening a title without changing its meaning

Can I cast Thunderwave and be at the center of its bottom face, but not be affected by it?

Calculate the Mean mean of two numbers

My boss doesn't want me to have a side project

What is the difference between 'contrib' and 'non-free' packages repositories?



How can I change an existing modal in Magento 2?



The Next CEO of Stack OverflowMagento 2.1 adding new component type problemMagento 2.1 : Try to load a listing component for a custom model on the product edit pageHow to close a modal in Magento 2Change button text in modal popup minicartMagento2 add new field in bundle item (in option selection)DynamicRows - underscore's function last() is not definedMagento 2 declaring modifier PHP Fatal Error: null given in $modifiersMissing required argument $modifiers of MagentoUiDataProviderModifierPoolGrid action column custom callback with multiple params in magento2










34















I'm trying to change the behaviour of a Modal (not Model) in Magento 2.

The modal in question is advanced_inventory_modal, declared in module-catalog-inventory/view/adminhtml/ui_component/product_form.xml.



Now I know I can use a Modifier in the product-form-modifier-pool:



<virtualType name="MagentoCatalogUiDataProviderProductFormModifierPool">
<arguments>
<argument name="modifiers" xsi:type="array">
<item name="hf_quantity" xsi:type="array">
<item name="class" xsi:type="string">VendorModuleUiDataProviderProductFormModifierQuantity</item>
<item name="sortOrder" xsi:type="number">100</item>
</item>
</argument>
</arguments>
</virtualType>


... and use the modifyMeta()-method in my modifier to manipulate the XML configuration, but for some reason, the inventory modal is not present in the data that is provided here. It's also not a sortOrder-related problem, since I already set that way high. The sortOrder-attribute might have something to do with it.



So what gives? Can anyone tell me what's the proper way to modify the content of an existing modal in Magento 2?



Edit:



I found a solution or workaround (not sure yet) on how to achieve what I am trying to achieve. It turns out that if I set sortOrder to 10000 I have some data in my modifyMeta()-method that I can use:



public function modifyMeta(array $meta)

if ($path = $this->arrayManager->findPath('quantity_and_stock_status_qty', $meta, null, 'children'))
$this->arrayManager->remove(
$path . '/children/qty/arguments/data/config/validation/validate-digits',
$meta
);


if ($path = $this->arrayManager->findPath('advanced_inventory_modal', $meta))
$meta = $this->arrayManager->merge(
$path . '/children/stock_data/children/qty/arguments/data/config',
$meta,
['validation' => ['validate-digits' => false]]
);


return $meta;




Note that the `advanced_inventory_modal` node is not yet complete, but my best guess is that the later addition of the modal merges with these settings, but doesn't override it. Could be wrong though, perhaps someone could share some more light on how this mechanism works?









share|improve this question



















  • 1





    That's the only way so far to customise kind of Ui component like this. The PHP modifiers.

    – Toan Nguyen
    Jul 18 '17 at 4:24






  • 2





    @Giel Berkers Your question is good but unfortunately I don't know how to answer it. Fortunately I have enough reputations to place bounty on your question to attract someone who knows to answer your question. My kind.

    – Farewell Stack Exchange
    Sep 4 '17 at 22:34















34















I'm trying to change the behaviour of a Modal (not Model) in Magento 2.

The modal in question is advanced_inventory_modal, declared in module-catalog-inventory/view/adminhtml/ui_component/product_form.xml.



Now I know I can use a Modifier in the product-form-modifier-pool:



<virtualType name="MagentoCatalogUiDataProviderProductFormModifierPool">
<arguments>
<argument name="modifiers" xsi:type="array">
<item name="hf_quantity" xsi:type="array">
<item name="class" xsi:type="string">VendorModuleUiDataProviderProductFormModifierQuantity</item>
<item name="sortOrder" xsi:type="number">100</item>
</item>
</argument>
</arguments>
</virtualType>


... and use the modifyMeta()-method in my modifier to manipulate the XML configuration, but for some reason, the inventory modal is not present in the data that is provided here. It's also not a sortOrder-related problem, since I already set that way high. The sortOrder-attribute might have something to do with it.



So what gives? Can anyone tell me what's the proper way to modify the content of an existing modal in Magento 2?



Edit:



I found a solution or workaround (not sure yet) on how to achieve what I am trying to achieve. It turns out that if I set sortOrder to 10000 I have some data in my modifyMeta()-method that I can use:



public function modifyMeta(array $meta)

if ($path = $this->arrayManager->findPath('quantity_and_stock_status_qty', $meta, null, 'children'))
$this->arrayManager->remove(
$path . '/children/qty/arguments/data/config/validation/validate-digits',
$meta
);


if ($path = $this->arrayManager->findPath('advanced_inventory_modal', $meta))
$meta = $this->arrayManager->merge(
$path . '/children/stock_data/children/qty/arguments/data/config',
$meta,
['validation' => ['validate-digits' => false]]
);


return $meta;




Note that the `advanced_inventory_modal` node is not yet complete, but my best guess is that the later addition of the modal merges with these settings, but doesn't override it. Could be wrong though, perhaps someone could share some more light on how this mechanism works?









share|improve this question



















  • 1





    That's the only way so far to customise kind of Ui component like this. The PHP modifiers.

    – Toan Nguyen
    Jul 18 '17 at 4:24






  • 2





    @Giel Berkers Your question is good but unfortunately I don't know how to answer it. Fortunately I have enough reputations to place bounty on your question to attract someone who knows to answer your question. My kind.

    – Farewell Stack Exchange
    Sep 4 '17 at 22:34













34












34








34


8






I'm trying to change the behaviour of a Modal (not Model) in Magento 2.

The modal in question is advanced_inventory_modal, declared in module-catalog-inventory/view/adminhtml/ui_component/product_form.xml.



Now I know I can use a Modifier in the product-form-modifier-pool:



<virtualType name="MagentoCatalogUiDataProviderProductFormModifierPool">
<arguments>
<argument name="modifiers" xsi:type="array">
<item name="hf_quantity" xsi:type="array">
<item name="class" xsi:type="string">VendorModuleUiDataProviderProductFormModifierQuantity</item>
<item name="sortOrder" xsi:type="number">100</item>
</item>
</argument>
</arguments>
</virtualType>


... and use the modifyMeta()-method in my modifier to manipulate the XML configuration, but for some reason, the inventory modal is not present in the data that is provided here. It's also not a sortOrder-related problem, since I already set that way high. The sortOrder-attribute might have something to do with it.



So what gives? Can anyone tell me what's the proper way to modify the content of an existing modal in Magento 2?



Edit:



I found a solution or workaround (not sure yet) on how to achieve what I am trying to achieve. It turns out that if I set sortOrder to 10000 I have some data in my modifyMeta()-method that I can use:



public function modifyMeta(array $meta)

if ($path = $this->arrayManager->findPath('quantity_and_stock_status_qty', $meta, null, 'children'))
$this->arrayManager->remove(
$path . '/children/qty/arguments/data/config/validation/validate-digits',
$meta
);


if ($path = $this->arrayManager->findPath('advanced_inventory_modal', $meta))
$meta = $this->arrayManager->merge(
$path . '/children/stock_data/children/qty/arguments/data/config',
$meta,
['validation' => ['validate-digits' => false]]
);


return $meta;




Note that the `advanced_inventory_modal` node is not yet complete, but my best guess is that the later addition of the modal merges with these settings, but doesn't override it. Could be wrong though, perhaps someone could share some more light on how this mechanism works?









share|improve this question
















I'm trying to change the behaviour of a Modal (not Model) in Magento 2.

The modal in question is advanced_inventory_modal, declared in module-catalog-inventory/view/adminhtml/ui_component/product_form.xml.



Now I know I can use a Modifier in the product-form-modifier-pool:



<virtualType name="MagentoCatalogUiDataProviderProductFormModifierPool">
<arguments>
<argument name="modifiers" xsi:type="array">
<item name="hf_quantity" xsi:type="array">
<item name="class" xsi:type="string">VendorModuleUiDataProviderProductFormModifierQuantity</item>
<item name="sortOrder" xsi:type="number">100</item>
</item>
</argument>
</arguments>
</virtualType>


... and use the modifyMeta()-method in my modifier to manipulate the XML configuration, but for some reason, the inventory modal is not present in the data that is provided here. It's also not a sortOrder-related problem, since I already set that way high. The sortOrder-attribute might have something to do with it.



So what gives? Can anyone tell me what's the proper way to modify the content of an existing modal in Magento 2?



Edit:



I found a solution or workaround (not sure yet) on how to achieve what I am trying to achieve. It turns out that if I set sortOrder to 10000 I have some data in my modifyMeta()-method that I can use:



public function modifyMeta(array $meta)

if ($path = $this->arrayManager->findPath('quantity_and_stock_status_qty', $meta, null, 'children'))
$this->arrayManager->remove(
$path . '/children/qty/arguments/data/config/validation/validate-digits',
$meta
);


if ($path = $this->arrayManager->findPath('advanced_inventory_modal', $meta))
$meta = $this->arrayManager->merge(
$path . '/children/stock_data/children/qty/arguments/data/config',
$meta,
['validation' => ['validate-digits' => false]]
);


return $meta;




Note that the `advanced_inventory_modal` node is not yet complete, but my best guess is that the later addition of the modal merges with these settings, but doesn't override it. Could be wrong though, perhaps someone could share some more light on how this mechanism works?






magento2 modal






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 12 at 10:45









magefms

2,1552426




2,1552426










asked Nov 11 '16 at 12:45









Giel BerkersGiel Berkers

7,08924281




7,08924281







  • 1





    That's the only way so far to customise kind of Ui component like this. The PHP modifiers.

    – Toan Nguyen
    Jul 18 '17 at 4:24






  • 2





    @Giel Berkers Your question is good but unfortunately I don't know how to answer it. Fortunately I have enough reputations to place bounty on your question to attract someone who knows to answer your question. My kind.

    – Farewell Stack Exchange
    Sep 4 '17 at 22:34












  • 1





    That's the only way so far to customise kind of Ui component like this. The PHP modifiers.

    – Toan Nguyen
    Jul 18 '17 at 4:24






  • 2





    @Giel Berkers Your question is good but unfortunately I don't know how to answer it. Fortunately I have enough reputations to place bounty on your question to attract someone who knows to answer your question. My kind.

    – Farewell Stack Exchange
    Sep 4 '17 at 22:34







1




1





That's the only way so far to customise kind of Ui component like this. The PHP modifiers.

– Toan Nguyen
Jul 18 '17 at 4:24





That's the only way so far to customise kind of Ui component like this. The PHP modifiers.

– Toan Nguyen
Jul 18 '17 at 4:24




2




2





@Giel Berkers Your question is good but unfortunately I don't know how to answer it. Fortunately I have enough reputations to place bounty on your question to attract someone who knows to answer your question. My kind.

– Farewell Stack Exchange
Sep 4 '17 at 22:34





@Giel Berkers Your question is good but unfortunately I don't know how to answer it. Fortunately I have enough reputations to place bounty on your question to attract someone who knows to answer your question. My kind.

– Farewell Stack Exchange
Sep 4 '17 at 22:34










3 Answers
3






active

oldest

votes


















0














You can set <sequence> in module.xml of CatalogInventory module. After that, you can create product_form.xml under




app/code/Your/Module/view/adminhtml/ui_component/product_form.xml




With the same path as it is in the CatalogInventory. This will replace the configuration you needed.



I would like to provide any examples but I don't know what you need here.
P.S. you don't need to add other elements you don't need in your XML. they will be taken from parent xml configuration.






share|improve this answer
































    0














    There is a two way:



    1) Create a new Model(through new module creation in local pool)



    2) To override the existing Model of specific module which you want.






    share|improve this answer
































      -3














      1. Create a directory app/code/Vendor/Module

      2. Create a registration file app/code/Vendor/Module/registration.php with the following content:


      <?php
      MagentoFrameworkComponentComponentRegistrar::register(
      MagentoFrameworkComponentComponentRegistrar::MODULE,
      'Vendor_Module',
      __DIR__
      );
      ?>



      1. Create a composer file (if you plan to transfer the module) app/code/Vendor/Module/composer.json :



      "name": "vendor/module-module",
      "description": "N/A",
      "require": ~7.0.0"
      ,
      "type": "magento2-module",
      "version": "2.0.0",
      "license": [
      "OSL-3.0",
      "AFL-3.0"
      ],
      "autoload":
      "files": [
      "registration.php"
      ],
      "psr-4":
      "Vendor\Module\": ""






      1. Now, create the module’s main XML-file app/code/Vendor/Module/etc/module.xml with the dependency from the Magento_Catalog module because our modal window will be added to its form:


      <?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_Module" setup_version="2.0.0">
      <sequence>
      <module name="Magento_Catalog"/>
      </sequence>
      </module>
      </config>






      share|improve this answer




















      • 4





        Mind explaining how is your answer related to the question?

        – Vivek Kumar
        Mar 7 '18 at 11:09











      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%2f145338%2fhow-can-i-change-an-existing-modal-in-magento-2%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









      0














      You can set <sequence> in module.xml of CatalogInventory module. After that, you can create product_form.xml under




      app/code/Your/Module/view/adminhtml/ui_component/product_form.xml




      With the same path as it is in the CatalogInventory. This will replace the configuration you needed.



      I would like to provide any examples but I don't know what you need here.
      P.S. you don't need to add other elements you don't need in your XML. they will be taken from parent xml configuration.






      share|improve this answer





























        0














        You can set <sequence> in module.xml of CatalogInventory module. After that, you can create product_form.xml under




        app/code/Your/Module/view/adminhtml/ui_component/product_form.xml




        With the same path as it is in the CatalogInventory. This will replace the configuration you needed.



        I would like to provide any examples but I don't know what you need here.
        P.S. you don't need to add other elements you don't need in your XML. they will be taken from parent xml configuration.






        share|improve this answer



























          0












          0








          0







          You can set <sequence> in module.xml of CatalogInventory module. After that, you can create product_form.xml under




          app/code/Your/Module/view/adminhtml/ui_component/product_form.xml




          With the same path as it is in the CatalogInventory. This will replace the configuration you needed.



          I would like to provide any examples but I don't know what you need here.
          P.S. you don't need to add other elements you don't need in your XML. they will be taken from parent xml configuration.






          share|improve this answer















          You can set <sequence> in module.xml of CatalogInventory module. After that, you can create product_form.xml under




          app/code/Your/Module/view/adminhtml/ui_component/product_form.xml




          With the same path as it is in the CatalogInventory. This will replace the configuration you needed.



          I would like to provide any examples but I don't know what you need here.
          P.S. you don't need to add other elements you don't need in your XML. they will be taken from parent xml configuration.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Dec 26 '18 at 5:11









          Chirag Patel

          2,443423




          2,443423










          answered Oct 15 '18 at 20:03









          AleksLiAleksLi

          111




          111























              0














              There is a two way:



              1) Create a new Model(through new module creation in local pool)



              2) To override the existing Model of specific module which you want.






              share|improve this answer





























                0














                There is a two way:



                1) Create a new Model(through new module creation in local pool)



                2) To override the existing Model of specific module which you want.






                share|improve this answer



























                  0












                  0








                  0







                  There is a two way:



                  1) Create a new Model(through new module creation in local pool)



                  2) To override the existing Model of specific module which you want.






                  share|improve this answer















                  There is a two way:



                  1) Create a new Model(through new module creation in local pool)



                  2) To override the existing Model of specific module which you want.







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited 12 mins ago









                  Ashish Viradiya

                  1,0751830




                  1,0751830










                  answered Mar 13 at 7:16









                  Naresh PrajapatiNaresh Prajapati

                  164




                  164





















                      -3














                      1. Create a directory app/code/Vendor/Module

                      2. Create a registration file app/code/Vendor/Module/registration.php with the following content:


                      <?php
                      MagentoFrameworkComponentComponentRegistrar::register(
                      MagentoFrameworkComponentComponentRegistrar::MODULE,
                      'Vendor_Module',
                      __DIR__
                      );
                      ?>



                      1. Create a composer file (if you plan to transfer the module) app/code/Vendor/Module/composer.json :



                      "name": "vendor/module-module",
                      "description": "N/A",
                      "require": ~7.0.0"
                      ,
                      "type": "magento2-module",
                      "version": "2.0.0",
                      "license": [
                      "OSL-3.0",
                      "AFL-3.0"
                      ],
                      "autoload":
                      "files": [
                      "registration.php"
                      ],
                      "psr-4":
                      "Vendor\Module\": ""






                      1. Now, create the module’s main XML-file app/code/Vendor/Module/etc/module.xml with the dependency from the Magento_Catalog module because our modal window will be added to its form:


                      <?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_Module" setup_version="2.0.0">
                      <sequence>
                      <module name="Magento_Catalog"/>
                      </sequence>
                      </module>
                      </config>






                      share|improve this answer




















                      • 4





                        Mind explaining how is your answer related to the question?

                        – Vivek Kumar
                        Mar 7 '18 at 11:09















                      -3














                      1. Create a directory app/code/Vendor/Module

                      2. Create a registration file app/code/Vendor/Module/registration.php with the following content:


                      <?php
                      MagentoFrameworkComponentComponentRegistrar::register(
                      MagentoFrameworkComponentComponentRegistrar::MODULE,
                      'Vendor_Module',
                      __DIR__
                      );
                      ?>



                      1. Create a composer file (if you plan to transfer the module) app/code/Vendor/Module/composer.json :



                      "name": "vendor/module-module",
                      "description": "N/A",
                      "require": ~7.0.0"
                      ,
                      "type": "magento2-module",
                      "version": "2.0.0",
                      "license": [
                      "OSL-3.0",
                      "AFL-3.0"
                      ],
                      "autoload":
                      "files": [
                      "registration.php"
                      ],
                      "psr-4":
                      "Vendor\Module\": ""






                      1. Now, create the module’s main XML-file app/code/Vendor/Module/etc/module.xml with the dependency from the Magento_Catalog module because our modal window will be added to its form:


                      <?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_Module" setup_version="2.0.0">
                      <sequence>
                      <module name="Magento_Catalog"/>
                      </sequence>
                      </module>
                      </config>






                      share|improve this answer




















                      • 4





                        Mind explaining how is your answer related to the question?

                        – Vivek Kumar
                        Mar 7 '18 at 11:09













                      -3












                      -3








                      -3







                      1. Create a directory app/code/Vendor/Module

                      2. Create a registration file app/code/Vendor/Module/registration.php with the following content:


                      <?php
                      MagentoFrameworkComponentComponentRegistrar::register(
                      MagentoFrameworkComponentComponentRegistrar::MODULE,
                      'Vendor_Module',
                      __DIR__
                      );
                      ?>



                      1. Create a composer file (if you plan to transfer the module) app/code/Vendor/Module/composer.json :



                      "name": "vendor/module-module",
                      "description": "N/A",
                      "require": ~7.0.0"
                      ,
                      "type": "magento2-module",
                      "version": "2.0.0",
                      "license": [
                      "OSL-3.0",
                      "AFL-3.0"
                      ],
                      "autoload":
                      "files": [
                      "registration.php"
                      ],
                      "psr-4":
                      "Vendor\Module\": ""






                      1. Now, create the module’s main XML-file app/code/Vendor/Module/etc/module.xml with the dependency from the Magento_Catalog module because our modal window will be added to its form:


                      <?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_Module" setup_version="2.0.0">
                      <sequence>
                      <module name="Magento_Catalog"/>
                      </sequence>
                      </module>
                      </config>






                      share|improve this answer















                      1. Create a directory app/code/Vendor/Module

                      2. Create a registration file app/code/Vendor/Module/registration.php with the following content:


                      <?php
                      MagentoFrameworkComponentComponentRegistrar::register(
                      MagentoFrameworkComponentComponentRegistrar::MODULE,
                      'Vendor_Module',
                      __DIR__
                      );
                      ?>



                      1. Create a composer file (if you plan to transfer the module) app/code/Vendor/Module/composer.json :



                      "name": "vendor/module-module",
                      "description": "N/A",
                      "require": ~7.0.0"
                      ,
                      "type": "magento2-module",
                      "version": "2.0.0",
                      "license": [
                      "OSL-3.0",
                      "AFL-3.0"
                      ],
                      "autoload":
                      "files": [
                      "registration.php"
                      ],
                      "psr-4":
                      "Vendor\Module\": ""






                      1. Now, create the module’s main XML-file app/code/Vendor/Module/etc/module.xml with the dependency from the Magento_Catalog module because our modal window will be added to its form:


                      <?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_Module" setup_version="2.0.0">
                      <sequence>
                      <module name="Magento_Catalog"/>
                      </sequence>
                      </module>
                      </config>







                      share|improve this answer














                      share|improve this answer



                      share|improve this answer








                      edited Jan 17 '18 at 14:30









                      Rama Chandran M

                      2,74381530




                      2,74381530










                      answered Jan 17 '18 at 13:42









                      MehulKanjariyaMehulKanjariya

                      1037




                      1037







                      • 4





                        Mind explaining how is your answer related to the question?

                        – Vivek Kumar
                        Mar 7 '18 at 11:09












                      • 4





                        Mind explaining how is your answer related to the question?

                        – Vivek Kumar
                        Mar 7 '18 at 11:09







                      4




                      4





                      Mind explaining how is your answer related to the question?

                      – Vivek Kumar
                      Mar 7 '18 at 11:09





                      Mind explaining how is your answer related to the question?

                      – Vivek Kumar
                      Mar 7 '18 at 11:09

















                      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%2f145338%2fhow-can-i-change-an-existing-modal-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

                      Disable / Remove link to Product Items in Cart 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?How can I limit products that can be bought / added to cart?Remove item from cartHide “Add to Cart” button if specific products are already in cart“Prettifying” the custom options in cart pageCreate link in cart sidebar to view all added items After limit reachedLink products together in checkout/cartHow to Get product from cart and add it againHide action-edit on cart page if simple productRemoving Cart items - ObserverRemove wishlist items when added to cart

                      Helsingin valtaus Sisällysluettelo Taustaa | Yleistä sotatoimista | Osapuolet | Taistelut Helsingin ympäristössä | Punaisten antautumissuunnitelma | Taistelujen kulku Helsingissä | Valtauksen jälkeen | Tappiot | Muistaminen | Kirjallisuutta | Lähteet | Aiheesta muualla | NavigointivalikkoTeoksen verkkoversioTeoksen verkkoversioGoogle BooksSisällissota Helsingissä päättyi tasan 95 vuotta sittenSaksalaisten ylivoima jyräsi punaisen HelsinginSuomalaiset kuvaavat sotien jälkiä kaupungeissa – katso kuvat ja tarinat tutuilta kulmiltaHelsingin valtaus 90 vuotta sittenSaksalaiset valtasivat HelsinginHyökkäys HelsinkiinHelsingin valtaus 12.–13.4. 1918Saksalaiset käyttivät ihmiskilpiä Helsingin valtauksessa 1918Teoksen verkkoversioTeoksen verkkoversioSaksalaiset hyökkäävät Etelä-SuomeenTaistelut LeppävaarassaSotilaat ja taistelutLeppävaara 1918 huhtikuussa. KapinatarinaHelsingin taistelut 1918Saksalaisten voitonparaati HelsingissäHelsingin valtausta juhlittiinSaksalaisten Helsinki vuonna 1918Helsingin taistelussa kaatuneet valkokaartilaisetHelsinkiin haudatut taisteluissa kaatuneet punaiset12.4.1918 Helsingin valtauksessa saksalaiset apujoukot vapauttavat kaupunginVapaussodan muistomerkkejä Helsingissä ja pääkaupunkiseudullaCrescendo / Vuoden 1918 Kansalaissodan uhrien muistomerkkim

                      Adjektiivitarina Tarinan tekeminen | Esimerkki: ennen | Esimerkki: jälkeen | Navigointivalikko