Support » Plugin: Print Invoice & Delivery Notes for WooCommerce » I need the order_number

  • Resolved oliona

    (@oliona)


    Hi guys,

    I’m working with Woocommerce Sequential Order Numbers Pro and Woocommerce Germanized. All is fine, but I need to print the invoice which uses the Invoice Number generated by Germanized.

    Is it possible to get this number by the script?

    Another solution would be to print the delivery note (because it refers to the order number and not to the invoice number), but the heading is always »Invoice« instead of »Delivery Note«.

    Have you any ideas to help me?

    Warm regards
    Heike

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi Heike,

    > I need to print the invoice which uses the Invoice Number generated by Germanized.

    Can you please let me know that you need the invoice number generated by Germanized plugin into the new row of the print screen?

    >I’m working with Woocommerce Sequential Order Numbers Pro and Woocommerce Germanized.

    We have not tested our plugin with the above plugins. You can share with us the Woocommerce Sequential Order Numbers Pro plugin so we can look into it.

    Please let me know.

    >Another solution would be to print the delivery note (because it refers to the order number and not to the invoice number), but the heading is always »Invoice« instead of »Delivery Note«.

    Can you please confirm that you want to display heading as “Invoice” when you click on the Prin Delivery note button? Please let me know if I misunderstood your query.

    Regards,
    Bhavik

    Thread Starter oliona

    (@oliona)

    Hi Bhavik,

    I have solved the problem in another way: Order number and Invoice number are now identical. The invoice number is provided with an Prefix, and therefore I can use Print Invoice and Delivery Note with a little change in the template:

    $fields[‘order_number’] = array(
    ‘label’ => __( ‘Rechnungs-Nr.’, ‘woocommerce-delivery-notes’ ),
    ‘value’ => “RE-” .$order->get_order_number() .” zu Bestell-Nr. ” .$order->get_order_number()
    );

    it works for me. 🙂

    Regards

    Heike

    Plugin Author Vishal Kothari

    (@ashokrane)

    That’s great @oliona. 🙂

    :Vishal

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘I need the order_number’ is closed to new replies.