Support » Plugin: WooCommerce PDF Invoices » phone number

  • Resolved 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)
  • Hi, can someone get back to me on this please?


    Plugin Author Bas Elbers


    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:

    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.