• Resolved bjonathan

    (@bjonathan)


    Hi,

    Is it possible to export shipping full name ? (first name + last name in the same column ?)

    Thank you

Viewing 1 replies (of 1 total)
  • Plugin Author WP All Import

    (@wpallimport)

    Hey @bjonathan

    You can use a custom PHP function on the “Order ID” field for this. Here’s an example function:

    function soflyy_get_full_shipping( $order_id ) {
    	$order = new WC_Order( $order_id );
    	$full_name = $order->get_formatted_shipping_full_name();
    	
    	return ( empty( $full_name ) ) ? null : $full_name;
    }

    And, here’s what the field set up would look like:

    Full Shipping Name

Viewing 1 replies (of 1 total)

The topic ‘Export Shipping Full Name’ is closed to new replies.