- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2016
11:38 PM
03-08-2016
11:38 PM
how to modify collections VirtualType sales/model/resourcemodel/order/grid/collection
Hi,
I have a problem. I can not get to the collection of sales/order/grid/collection.
I want to filter the result at the start and generate a modified grid.
In Magento 1: event/ovserver - sales_order_grid_collection_load_before
In Magento 2 it does not work. Here are used virtualType and I do not know how to modify the collection.
Please help.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2016
05:51 AM
03-12-2016
05:51 AM
Re: how to modify collections VirtualType sales/model/resourcemodel/order/grid/collection
What exact filter do you need?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2016
11:34 PM
03-17-2016
11:34 PM
Re: how to modify collections VirtualType sales/model/resourcemodel/order/grid/collection
I want to use addStoreFilter() on order/grid/collection.