Title: get shipping method
Last modified: October 30, 2020

---

# get shipping method

 *  Resolved [skoz95](https://wordpress.org/support/users/skoz95/)
 * (@skoz95)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/get-shipping-method/)
 * Hi there,
 * I would like to print a current order shipping method.
    So in that function :
   star_cloudprnt_create_receipt_order_meta_data($meta_data, $order, &$printer, 
   $max_chars), I have an object “order” but do this $order->get_shipping_method()
   don’t work. Can you help me, to retrieve a shipping method from your $order object?
 * Thanks,

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [lawrenceowen](https://wordpress.org/support/users/lawrenceowen/)
 * (@lawrenceowen)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/get-shipping-method/#post-13611232)
 * Hi [@skoz95](https://wordpress.org/support/users/skoz95/)
 * The $order object is a WC_Order retrieved using the WooCommerce function [wc_get_order()](https://woocommerce.github.io/code-reference/namespaces/default.html#function_wc_get_order).
   Please check the standard WooCommerce API documentation and forums, I don’t thing
   that there’s anything about the Star plugin that would make it harder/easier 
   to access the shipping information. Unfortunately it’s not something I’ve done
   myself.

Viewing 1 replies (of 1 total)

The topic ‘get shipping method’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/star-cloudprnt-for-woocommerce_b4cfd9.
   svg)
 * [Star CloudPRNT for WooCommerce](https://wordpress.org/plugins/star-cloudprnt-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/star-cloudprnt-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/star-cloudprnt-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/star-cloudprnt-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/star-cloudprnt-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/star-cloudprnt-for-woocommerce/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [lawrenceowen](https://wordpress.org/support/users/lawrenceowen/)
 * Last activity: [5 years, 7 months ago](https://wordpress.org/support/topic/get-shipping-method/#post-13611232)
 * Status: resolved