Skip to main content
3 events
when toggle format what by license comment
Dec 11, 2019 at 9:04 comment added Shafeel Sha it returns a collection and inside that lot of function ; you can try print_r(get_class_methods($order)); die; to view that and getAllItems() provides all items purchased with that order_id entered
Dec 11, 2019 at 7:01 comment added Ankur Anand $this->orderRepository->get($orderId): what does this return ?
Dec 11, 2019 at 5:49 history answered Shafeel Sha CC BY-SA 4.0