0

I have override sales_order_create_index.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="form_account">
            <action method="setTemplate">
                <argument name="template" xsi:type="string">Custom_Orders::order/create/form/account.phtml</argument>
            </action>
        </referenceBlock>
    </body>
</page>

But on the initial page load, the default template is shown, but on refresh, the custom template shows up.

Magento version: 2.3.1

Can anyone help me with this?

Thanks

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.