Or maybe the order ID, customer ID, billing info, payment method, total refunds and so on…
Since WooCommerce 3, if you want to get the shipping formatted method title(s), you can better use WC_Order method get_shipping_method() ...
( [title] => Shipping title [ type] => text [description] => Visible only to admin in WooCommerce settings.
thought i'd share how I solved this if someone runs into the same problem as me. I have WC_Order in the $order variable. $order->get_items( ...
Each customer matches only one zone.
Since WooCommerce 3.x.x it's not ... Output formatted shipping method title. echo '
Shipping method name: '.
First of all, let's take a look at our “Shipping methods” selector field, which you will find
ID $label_name = $shipping_rate->get_label(); // The label name of the method
Local Pickup is a method that allows the customer to pick up the order themselves.