Support » Plugin: WooCommerce Print Invoice & Delivery Note » Adding Payment Method to Invoice

  • Resolved sparx

    (@sparx)


    Hi,

    I have tried just about everything I can think of to get the payment method to display on the invoice and I just can’t get it to show. I have spent over 3 hours on this now and am about to smash my head into my monitor!

    Please can someone let me know exactly what I need to put in the print-delivery-note.php file in order to get the Payment Method to appear.

    At the moment I have:

    <?php echo '<strong>Payment Method:</strong> ' . 
    
    wcdn_get_order_custom_field('WC_Payment_Gateway'); ?>

    But in place of WC_Payment_Gateway I have tried probably 50 variations of payment_method, Payment Method, payment_type, Payment Type etc. etc. etc.

    Am I even using the right code above?

    Many thanks in advance,

    sparx

    http://wordpress.org/extend/plugins/woocommerce-delivery-notes/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Ummm, can someone please answer this. All I need to know is how to call up the correct Woocommerce term for the payment method.

    Many thanks,

    sparx

    bheadrick

    (@bheadrick)

    $order->payment_method;

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Adding Payment Method to Invoice’ is closed to new replies.