Skip to main content
deleted 20 characters in body
Source Link
Marius
  • 198.5k
  • 55
  • 424
  • 833

Try this:

<admin>
    <routers>
        <advancedstock> <!-- put there the router key of the original module -->
            <args>
                <modules>
                    <Vendor_AdvancedStock before="MDN_AdvancedStock">Vendor_AdvancedStock_Adminhtml<before="MDN_AdvancedStock">Vendor_AdvancedStock</Vendor_AdvancedStock>
                </modules>
            </args>
        </advancedstock>
    </routers>
</admin>

Then place your controller inside Vendor/AdvancedStock/controllers/Adminhtml and make sure it's called the same as the original controller.

Try this:

<admin>
    <routers>
        <advancedstock> <!-- put there the router key of the original module -->
            <args>
                <modules>
                    <Vendor_AdvancedStock before="MDN_AdvancedStock">Vendor_AdvancedStock_Adminhtml</Vendor_AdvancedStock>
                </modules>
            </args>
        </advancedstock>
    </routers>
</admin>

Then place your controller inside Vendor/AdvancedStock/controllers/Adminhtml and make sure it's called the same as the original controller.

Try this:

<admin>
    <routers>
        <advancedstock> <!-- put there the router key of the original module -->
            <args>
                <modules>
                    <Vendor_AdvancedStock before="MDN_AdvancedStock">Vendor_AdvancedStock</Vendor_AdvancedStock>
                </modules>
            </args>
        </advancedstock>
    </routers>
</admin>

Then place your controller inside Vendor/AdvancedStock/controllers and make sure it's called the same as the original controller.

Source Link
Marius
  • 198.5k
  • 55
  • 424
  • 833

Try this:

<admin>
    <routers>
        <advancedstock> <!-- put there the router key of the original module -->
            <args>
                <modules>
                    <Vendor_AdvancedStock before="MDN_AdvancedStock">Vendor_AdvancedStock_Adminhtml</Vendor_AdvancedStock>
                </modules>
            </args>
        </advancedstock>
    </routers>
</admin>

Then place your controller inside Vendor/AdvancedStock/controllers/Adminhtml and make sure it's called the same as the original controller.