Add Order Status + Delivery Method to PDF Invoice

WCMp PDF Invoice

Resolved
Viewing 3 reply threads
  • Author
    Posts
    • #131742
      Zia Rahim
      Participant

      Hi

      I have customized the invoice. I want to add the order status and delivery method e.g. free shipping.

      For payment method it is <?php echo $order->get_payment_method_title(); ?>

      So perhaps get_order_status? and get_delivery_method_title?

      Thank you!

    • #131767

      Hi,
      To show order status use below code –

      echo $order->get_status();
      Copy

      And to show shipping method use below code –

      echo '<p>Shipping method name: '. $order->get_shipping_method()) .'</p>';
      Copy

      Regards,

    • #131797
      Zia Rahim
      Participant

      Thank you very much!

    • #131807
      This reply has been marked as private.
Viewing 3 reply threads

The topic ‘Add Order Status + Delivery Method to PDF Invoice’ is closed to new replies.