Timeline for Magento2 - Order collection, How to get billing address?
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 3, 2020 at 18:23 | comment | added | Macas | By reading your code, you are already asking for a loop because you are forming a collection. If you want to get a single order - use a order repository or create a search criteria with conditions to fit a single order. By you example you are fetching multiple entities, but somehow you want to get billing address of all of those entities at the same time without loop in a single call - that is not possible without a loop. | |
Aug 3, 2020 at 15:27 | comment | added | Denys Maksiura | I want to get all the data in one request, I have about 50,000 products and I don't really want to run a loop | |
Jul 31, 2020 at 11:11 | history | edited | Macas | CC BY-SA 4.0 |
added 1 character in body
|
Jul 31, 2020 at 9:58 | history | answered | Macas | CC BY-SA 4.0 |