Sample setup code to add a column to sales_order_grid table (use this in your install/upgrade script). The same code works for the sales_order table by the way .
Sales order grid in Magento 2 can be accessed in the admin panel under “Sales” ... install scripts, DI and UI configuration files and try adding more parameters to ...
Adding column to sales_order_grid database table
My SQL install script:
name="data
" xsi:type="array">
So we created columns for our new attribute in both sales_order and sales_order_grid tables. We are going to ...
Unfortunately, Magento 2 does not provide any additional forms on the
We do so by simple upgrade script that executes the code similar to this: $ installer->getConnection() ->addColumn( ...
Sales order grid in Magento 2 can be accessed in admin panel under
In magento2 the setup scripts don't run on every request, they are run with the help of a console script. We will