Title: order number
Last modified: August 22, 2016

---

# order number

 *  Resolved [LeighMartin](https://wordpress.org/support/users/leighmartin/)
 * (@leighmartin)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/order-number-1/)
 * Hi Ewout,
 * Thanks for your help before, my custom invoice is starting to look fab. I wonder
   if you could help me again?
 * The woocommerce orders page search function doesn’t seem to work on the invoice
   number so I also need to put the order number on the invoice so we can identify
   it by searching. Is there any way to put this on the invoice?
    Thanks Leigh
 * [https://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/](https://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Contributor [Ewout](https://wordpress.org/support/users/pomegranate/)
 * (@pomegranate)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/order-number-1/#post-5420517)
 * Hello Leigh,
    The new version of the plugin/simple template (1.4.9) prints the
   order number by default, with the option to print the invoice number too. Here’s
   the code to print the order number:
 *     ```
       <span class="order-number-label"><?php _e( 'Order Number:', 'wpo_wcpdf' ); ?></span>
       <span class="order-number"><?php $wpo_wcpdf->order_number(); ?></span><br />
       ```
   
 * Have a great week!
    Ewout
 *  Thread Starter [LeighMartin](https://wordpress.org/support/users/leighmartin/)
 * (@leighmartin)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/order-number-1/#post-5420518)
 * Hi Ewout,
 * Wonderful, thanks so much for getting back to me so quickly, your support is 
   really great,
 * Kind regards
    Leigh

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘order number’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-pdf-invoices-packing-slips/assets/icon-256x256.
   png?rev=2189942)
 * [PDF Invoices & Packing Slips for WooCommerce](https://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/reviews/)

## Tags

 * [order number](https://wordpress.org/support/topic-tag/order-number/)
 * [PDF invoices](https://wordpress.org/support/topic-tag/pdf-invoices/)

 * 2 replies
 * 2 participants
 * Last reply from: [LeighMartin](https://wordpress.org/support/users/leighmartin/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/order-number-1/#post-5420518)
 * Status: resolved