I need to get a tracking number which resides in sales_shipment_track
for each item in an order.
Right now I am iterating all items of an order.
foreach ($_order->getAllItems() as $item) {
echo $item->getTrackNumber();
}
This didnt work.
How to get a tracking number
and its title
i.e, FEDEX
so that I can know which carrier is that tracking number.