Support » Plugin: WooCommerce » Show payment type in Order Email received by admin

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @maginem, you can add below code to your theme functions.php:

    add_action( 'woocommerce_email_after_order_table', 'admin_new_order_email_payment_type', 15, 2 );
    
    function admin_new_order_email_payment_type( $order, $is_admin_email ) {
      if ( $is_admin_email ) {
        echo '<p><strong>Payment Type:</strong> ' . $order->payment_method_title . '</p>';
      }
    }

    Hi,

    Thank you for the help. Will give it a go :).

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Show payment type in Order Email received by admin’ is closed to new replies.