Home Forums Woocommerce simply order export addon Custom fields in array

This topic contains 0 replies, has 1 voice, and was last updated by  patrick@longbeard.com 2 months, 3 weeks ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #8377

    Hello,

    I’d like to export a shipment tracking number with the order reports, which is generated by the WooCommerce Shipment Tracking plugin and located within a field key array (field key is _wc_st_add_tracking_number, and the property in the array is tracking_number).

    The plugin gives this function for adding the values to an order:

    if ( function_exists( 'wc_st_add_tracking_number' ) ) {
    	wc_st_add_tracking_number( $order_id, $tracking_number, $provider, $date_shipped, $custom_url );
    }

    But I’m not sure if/how this can be added to the order export CSV. Any help here would be greatly appreciated.

Viewing 1 post (of 1 total)

Please log-in to reply to this topic