• Resolved debain

    (@debain)


    Hi

    Please change

    $order_items[ 'customer' ] = $order->get_formatted_shipping_address();

    to

    if ( ( get_option( 'woocommerce_ship_to_billing_address_only' ) === 'no' ) && ( $order->get_formatted_shipping_address() ) ) {
            $customer = $order->get_formatted_shipping_address();
    } else {
            $customer = $order->get_formatted_billing_address();
    }
    $order_items[ 'customer' ]	= $customer;
    

    in class-vendor-admin-dashboard.php

    Thanks and Regards

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Show billing info’ is closed to new replies.