• Resolved LuukDriessen

    (@luukdriessen)


    Hello,

    We have some questions about our ‘Minimal’ template.

    We would like to add the customers email address and phone nr.

    Now, it only showing the address on the invoice.

    Which code do we need to add to the template?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Bas Elbers

    (@baaaaas)

    Hi,

    You can use below code.

    
    echo WPI()->get_prop( $order, 'billing_email' );
    echo WPI()->get_prop( $order, 'billing_phone' );
    

    and

    
    echo WPI()->get_prop( $order, 'shipping_email' );
    echo WPI()->get_prop( $order, 'shipping_phone' );
    

    Let me know if I can help you out. Will close topic.

Viewing 1 replies (of 1 total)
  • The topic ‘Adding Email and Phone nr on invoice’ is closed to new replies.