• Resolved macpheek

    (@macpheek)


    Hi, is there any way I can include the customers phone number of the customers pdf invoice?
    Hope you can help

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter macpheek

    (@macpheek)

    Hi, can someone get back to me on this please?

    Thread Starter macpheek

    (@macpheek)

    ???

    Plugin Author Bas Elbers

    (@baaaaas)

    Use below code for the phone number. You will have to create a custom template. I will be happy to code it for you. Just send me an email.

    $shipping_phone = WPI()->get_prop( $order, 'shipping_phone' );
    $billing_phone = WPI()->get_prop( $order, 'billing_phone' );

    Dear plugin author,
    pls add to:
    templates/packing-slip/simple/minimal/body.php

    under $formatted_shipping_address && $formatted_billing_address next row with phone:

    printf( __('Phone: %s', 'woocommerce-pdf-invoices'), $order->get_billing_phone() );

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘phone number’ is closed to new replies.