You vicinity an order from frontend and anticipate it to be displayed inside the Sales -> Orders grid in the Magento backend. But, you don’t see your latest order inside the sales order grid.
x
Cause
This is because Magento uses Scheduled Grid Updates. The order related grids (order, invoice, shipment, credit memo) are updated via scheduled cron job. This feature is enabled to avoid locks and reduce processing time.
Solution
1) The best solution would be to run the cron job at regular intervals.
You can also run cron manually from the terminal with the following command:
bin/magento cron:run2) The other solution (not recommended) is to disable asynchronous indexing of the grid.
You can enable/disable it by going to:
STORES -> Settings -> Configuration -> Advanced > Developer > Grid Settings > Asynchronous indexingOr, from the command line:
Show value of the setting:
bin/magento config:show dev/grid/async_indexingEnable Async Grid Indexing:
bin/magento config:set dev/grid/async_indexing 1Disable Async Grid Indexing:
bin/magento config:set dev/grid/async_indexing 0Refresh Cache
After the settings change, you have to refresh cache:
– either by going to SYSTEM -> Tools -> Cache Management
– or running the command bin/magento cache:flush.
Finally
Refresh the sales order grid page in Magento admin.
Finally, you should be able to see your recently added order in the sales order grid.
Hope this helps. Thanks.
0 comments:
Post a Comment
Thanks