Skip to main content
4 events
when toggle format what by license comment
May 3, 2019 at 14:22 comment added coderGeek I do need to do it programmatically but I am very new to Magento and don't really know how to do this such that the moment the orders grid is loaded, it only shows orders from a particular purchase point. Can you please help me with the starter code. Thanks!
May 2, 2019 at 20:01 comment added Igor Minyaylo "The products that are part of the order have a direct relation with the source" - that's not exactly right. Because this relation appears only for those orders for which we have Shipment created because the Shipment process establishes this relation. Before that - the system does not have a clue which source would be used for fulfillment. "how can I create a default filter that would show orders for a particular website?" - This data already shown on Order grid in "Purchase Point" column - if you need to do it programmatically use - \Magento\Sales\Api\OrderRepositoryInterface::getList
May 1, 2019 at 14:21 comment added coderGeek The products that are part of the order have a direct relation with the source. From the order id, I should be able to find out which products are part of the order and if it is not from source X, I don't want to show that order in the list. If not, how can I create a default filter that would show orders for a particular website?
Apr 29, 2019 at 20:18 history answered Igor Minyaylo CC BY-SA 4.0