Skip to main content
3 events
when toggle format what by license comment
May 23, 2023 at 8:43 comment added Shou I think you should comment code of this observer and check default flow create shipment first. After create new shipment, check information of that new shipment. If everything working right, it should have data (you can check in shipment detail page admin or table sales_shipment_item). If not, maybe the reason you can not get item and get all tracks because your another code.
May 23, 2023 at 8:21 comment added user3417608 With using these methods $shipment->getItems() and $shipment->getAllTracks() I get empty arrays?
May 23, 2023 at 3:04 history answered Shou CC BY-SA 4.0