0

I have added some filter in Sales -> Order and for that add a di.xml file.

di.xml file

<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
<type name="Magento\Sales\Block\Adminhtml\Order\View\Info">
    <plugin name="Custom_checkout_custom_fields_show_fields" type="Custom\CheckoutForm\Plugin\Block\Adminhtml\CustomFields" sortOrder="99999" />
</type>
<type name="Magento\Framework\View\Element\UiComponent\DataProvider\CollectionFactory">
    <arguments>
        <argument name="collections" xsi:type="array">
            <item name="sales_order_grid_data_source" xsi:type="string">Custom\CheckoutForm\Model\ResourceModel\Order\Grid\Collection</item>
        </argument>
    </arguments>
</type>
<type name="Custom\CheckoutForm\Model\ResourceModel\Order\Grid\Collection">
    <arguments>
        <argument name="mainTable" xsi:type="string">sales_order_grid</argument>
        <argument name="resourceModel" xsi:type="string">Magento\Sales\Model\ResourceModel\Order</argument>
    </arguments>
</type>

On adding this file don't know what's the issue but my content -> pages and content -> blocks are not shown it shows an error Not registered handle cms_page_listing_data_source.

Any help is appreciated.

0

I have faced the same issue earilier below artical help me to resovle my issue you can also give it a try this might help you:

HOW TO FIX THE ISSUE NOT A REGISTERED HANDLE IN MAGENTO 2

Magento 2 Issue with “Not Registered Handle” on all the sales sections?

Hope this will help to resolve your issue.

Cheers Coding.

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.