WooCommerce Sequential Order Numbers Pro
Sequential Order Numbers Pro is a WooCommerce extension that enhances the functionality of your WooCommerce site by allowing you to have incrementing order numbers rather than random ones. Additionally, you can set a starting number, order number length, custom prefix and/or suffix, and skip free orders, giving you full control over your shop’s order numbers.
Provides sequential order numbers rather than skipping values
Start the order numbering at any number (or for shops with existing order numbers, any number greater than your current largest order number)
Set a custom order number prefix or suffix
Include the current day, month, or year in your custom order number prefix or suffix
Include the current time: hour, minute, second in your custom order number prefix or suffix
Order number length can be set, automatically adding as many zeroes to the beginning of the order number as needed
Orders with only free products can be excluded from the paid order sequence for accounting purposes, and assigned their own custom prefix
Download the extension from your WooCommerce dashboard
Go to Plugins > Add New > Upload and select the ZIP file you just downloaded
Click Install Now, and then Activate
Go to WooCommerce > Settings > General, scroll down to “Order Numbers” and read the next section to learn how to setup and configure the plugin.
Setup and Configuration
No configuration is required for this plugin; in an empty site, orders will automatically be numbered beginning at 1, and with existing orders the numbering will pick up from the largest order number.
Optional configuration settings to customize the order number can be found by going to WooCommerce > Settings > General:
WooCommerce sequential order numbers pro settings
Highly Configurable Custom Order Numbers
Order Number Start
This is the starting number for any newly placed orders. This can be used to start order numbering at an arbitrary point (ie 1000) as long as it is higher than the current largest order number, or can be used to advance the order number in a shop with existing orders. For instance, if the current highest order number is 24 and this is set to 500, the next orders placed will be: 500, 501, 502, etc.
You can also control the order number minimum length by including leading zeroes to pad your order numbers with at least that many zeroes and achieve a fixed length. For instance, setting the order number start to “00001” will result in the following order number sequence: 00001, 00002, 00003, etc.
Changing this setting does not affect existing orders!
Order Number Prefix
Allows you to set a custom order number prefix; this can contain any combination of characters, or patterns as described below. Setting this does not affect existing orders.
Order Number Suffix
Allows you to set a custom order number suffix; this can contain any combination of characters, or patterns as described below. Setting this does not affect existing orders.
Skip Free Orders
With this enabled, orders with only free products and no additional fees or costs will be excluded from the paid order sequence. Useful when required by certain accounting rules.
Free Order Identifier
This option is only available when the Skip Free Orders option is enabled. This allows you to set a prefix for the free orders numbering sequence so you can have for instance: FREE-1, FREE-2, FREE-3, etc.
For example, if the starting order number is set to 1000, Order Number Length is set to “5” by making the order number start “01000”, Order Number Prefix is set to “AA-” and Order Number Suffix is set to “-ZZ”, order numbering will be as follows: AA-01000-ZZ, AA-01001-ZZ, AA-01002-ZZ, etc.
There are two different scenarios to consider: activation in a site with existing orders, activation in site with no orders.
When activated in a site with pre-existing orders, the existing order numbers will be unaffected, and order numbering for newly placed orders will directly follow the largest existing order number, or the configurable start number, whichever is bigger.
When activated in a site with no orders, the first order number will be 1; this value can be configured as explained in the Configuration section above.