I want to over ride following tramplete:
app/code/Mageplaza/EditOrder/view/adminhtml/templates/order/edit/shipping/method/list.phtml
Declared in :
app/code/Mageplaza/EditOrder/view/adminhtml/layout/mpeditorder_quick_edit.xml
with following:
<container name="content">
<block class="Mageplaza\EditOrder\Block\Adminhtml\Order\Edit\QuickEdit" name="mpeditorder.quick.edit" template="Mageplaza_EditOrder::order/edit/quick/form.phtml">
<block class="Mageplaza\EditOrder\Block\Adminhtml\Order\Edit\ShippingMethod" name="mpeditorder.shipping.method" template="Mageplaza_EditOrder::order/edit/shipping/method/list.phtml" />
</block>
</container>
I create my custom module depend on this extension having. app/code/Evx/EditOrder/view/adminhtml/layout/mpeditorder_quick_edit.xml
<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<referenceBlock name="mpeditorder.shipping.method">
<action method="setTemplate">
<argument name="template" xsi:type="string">Evx_EditOrder::order/edit/shipping/method/list.phtml</argument>
</action>
</referenceBlock>
</body>
</page>
Even Adding container on top is also not working:
<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<referenceContainer name="content">
<referenceBlock name="mpeditorder.shipping.method">
<action method="setTemplate">
<argument name="template" xsi:type="string">Evx_EditOrder::order/edit/shipping/method/list.phtml</argument>
</action>
</referenceBlock>
</referenceContainer>
</body>
</page>
and copy template into :
app/code/Evx/EditOrder/view/adminhtml/templates/order/edit/shipping/method/list.phtml
Template not overriding.