I am trying to get the shipping method using
$objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $order = $objectManager->create('Magento\Sales\Api\Data\OrderInterface')->load($orderid);
by doing var_dump on
$order->getShippingAddress()->getData() i get no such thing as shipping method, from where i can get shipping method?
I am new to magento.
after referring to this link
I don't know how to use sales_order_save_after if that's the only solution out there.