Advanced Ordernumbers for WooCommerce

IMPORTANT ANNOUNCEMENT: Plugin development ceased, all plugins made available freely (GPL)

With great sadness we have to announce that we are ceasing development of all our VirtueMart, WooCommerce and Joomla plugins. Effective immediately, all our plugins -- even those that were paid downloads -- are made available for free from our homepage (GPL license still applies), but we cannot and will not provide any support anymore.

It has been a great pleasure to be part of the thriving development communities of VirtueMart as well as WooCommerce. However, during the last year it became painstakingly clear that in addition to a full-time job, a young family and several other time-consuming hobbies at professional level (like being a professional singer) the plugin development and the support that it requires is not sustainable and is taking its toll. It has been an honor, but it is now time to say good bye!

Advanced Order Numbers for WooCommerce

The most flexible and complete solution for WooCommerce to customize your order and invoice numbers!
WooCommerce Versions
  • woocommerce
2.4, 2.5, 2.6, 3.x
Price : FREE
Paid Download
Advanced Ordernumbers for WooCommerce, Version 1.4.4 Advanced Ordernumbers for WooCommerce, Version 1.4.4
Filename: opentools-woocommerce-ordernumbers-advanced_v1.4.4.zip
MIME-Type: application/zip
File size: 108983 Bytes

The most flexible and complete solution for your WooCommerce webshop to customize your order numbers and the invoice numbers of select invoicing plugins!

Documentation - Demo server - Support Forum

Endless possibilities to have order/invoice numbers the way YOU like them

Whether you want simple order/invoice numbers with a prefix, or whether you want the invoice number to match the order number, or whether you even want separate number counters for each country or even customer, OpenTools Advanced Order Numbers for WooCommerce is the solution you need!

By default, WooCommerce uses the WordPress post ID of the order, which result in gaps between the order numbers. With this plugin you can configure the order numbers to have consecutive counters, also including order-specific information like the date, address etc.

The number format is a simple string, where # indicates the counter and [...] indicates an order-specific variable.
To get order numbers like "WC-2015-1", "WC-2015-2", etc., simply set the format to "WC-[year]-#".

The plugin comes in two flavors:

  • The free basic version, which provides sequential numbers and allows arbitrary, fixed text (prefix/postfix) in the order number
  • The paid advanced version, with lots of additional features:


  Basic Advanced
Sequential order numbers with prefix/postfix/arbitrary format X X
Numbers can include the year, month, etc. - X
Counter formatting: initial value, counter increments, number padding - X
Lots of variables to be used in the formats
   - date/time: year, month, day, hour, etc.
   - address: customer country, zip, name, etc.
   - order-specific: Number of articles, products, order total etc.
   - product categories, shipping method
- X
Custom variable definitions (with conditions on available variables) - X
Multiple concurrent counters (e.g. numbering per country, per day, per ZIP, ...) - X
Different order numbers for free orders (e.g. "FREE-01" for free orders) - X
Different number format for e.g. certain IP addresses (for testing) - X
Different number format depending on products, product categories, shipping classes - X
Customize invoice numbers (only for the "WooCommerce PDF Invoices and Package Slips" plugin)  - X
Suppot for vendor plugins ("WC Vendors" and "WooThemes Product Vendors" plugins)  - X


Advanced Ordernumbers examples

Advanced Ordernumbers Examples 


Easy configuration, yet powerful features

Key features of this module:

  • Freely customize order numbers and invoice numbers to your desires!
  • Number format is given as an ordinary string that can contain a vast number of variables as [variable] (date/time, order properties, customer properties, address, and even random numbers or letters) and a counter #
  • Customizable counter resets, multiple parallel counters: Counter can be global (one counter for all orders or invoices) with no reset, or yearly/monthly/daily counters, or even more general counter resets. You can even have multiple counters running concurrently (e.g. one counter per country, or different counters and thus different order/invoice numbers for wholesale and retail customers).
  • Alternatively, you can re-use the order number as invoice numbers, too (in some jurisdictions this might be problematic, because the order numbers can have gaps!)
  • Counter increments and formatting: In addition to the number format, you can choose your custom counter increment (to prevent your competitors from seeing how many orders you actually get) and the padding of the counters with zeros on the left (e.g. a counter with value 35 can be displayed as 000035 inside the number format)
  • Manually set/change your counters in the module configuration
  • Define your own custom variables for use in the number formats.
  • Use different number formats e.g. for free orders, for different products or categories, for different IP addresses (so test orders have their own numbers), or for different shipping methods


Fully configurable

Advanced Ordernumbers Settings

 You can even configure your own (conditional) variables for use inside the number formats:

 OpenTools WooCommerce AdvancedOrdernumbers CustomVariables

As you can see in the fifth line, you can even override the order number format for e.g. free orders to a format different from other orders (in this example, free orders will get order numbers FREE-2015-0100, FREE-2015-0101, etc).

The exotic...

The incredible flexibility of this WooCommerce plugin means that you do not have to stop at the usual numbering schemes involving a counter. You can even use only the date/time of the order or even random numbers as order or invoice numbers:

Advanced Ordernumbers exotic examles

Please note that in many jurisdictions there are certain restrictions on invoice numberings (mostly that they have to be / include an increasing number, and that they have to be unique). So the random invoice numbering scheme shown above would not be legal e.g. in the European Union.

Just because this module gives you the possibility to choose such invoice numberings, does not mean they are legal everywhere. Please check with your tax advisor and/or company lawyer.

To our knowledge, there are no legal restrictions on order, shipment or credit memo numberings.


Further information


Demo server

Support Forum


This plugin is licensed under the GPL v3+. When you purchase the plugin, you get the right to use the plugin on all your stores. Updates and support are included for at least 12 months.