Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- MagentoFrameworkComponentComponentRegistrar::register(
- MagentoFrameworkComponentComponentRegistrar::MODULE,
- 'vendor_modulename',
- __DIR__
- );
- <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../lib/internal/Magento/Framework/ObjectManager/etc/config.xsd">
- <preference for="MagentoSalesBlockAdminhtmlOrderCreate" type="vendormodulenameBlockAdminhtmlOrderCreate" />
- </config>
- <?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_modulename" setup_version="1.0.0">
- <sequence>
- <module name="Magento_Sales"/>
- </sequence>
- </module>
- </config>
- <?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="order_totals">
- <action method="setTemplate">
- <argument name="template" translate="true" xsi:type="string">vendor_modulename::order/create/totals.phtml</argument>
- </action>
- </referenceBlock>
- </body>
- </page>
Add Comment
Please, Sign In to add comment