Get orders shipping items details in WooCommerce 3
If you want to get the Order Items Shipping data, you need first to get them in a foreach loop (for ‘shipping’ item type) and to use WC_Order_Item_Shipping methods to access data $order_id = 528; // For example // An instance of $order = wc_get_order($order_id); // Iterating through order shipping items foreach( $order->get_items( ‘shipping’ ) … Read more