Web Analytics

Fill the form & Get Installation Support





    How to add column with filter in orders grid magento 2?

    In Magento 2 we can customize the order grid with adding column and filter as well.

    n today’s tutorial, we’ll add telephone no as a column in order grid. The next step is to create a new module.

    Here are the namespace and module name :

    Magemonkeys_CustomOrdersGrid

    Create registration.php file

    Create etc/module.xml file

    Create etc/adminhtml/di.xml file

    Create Plugin/OrdersGrid.php file

    Create view/adminhtml/ui_component/sales_order_grid.xml file

    after that we can enable the module by running a few commands:

    php bin/magento module:enable Magemonkeys_CustomOrdersGrid
    php bin/magento setup:upgrade
    php bin/magento cache:clean

    Now, you will able to see the telephone column in order grid.

     

    Fill the below form if you have any Magento programming need.





      Recent Articles

      Author Info

      Author Image

      Magento 2 Developer

      Hire P. Garchar

      Get a Free Quote





        Connect With Us