Create Sequential Order Numbers in WooCommerce

How to Set Custom Order Number Sequence for WooCommerce Orders?

In this blog post, we’ll provide a step-by-step guide for creating a custom sequential order number system for your WooCommerce store.

An online store receives thousands of orders daily, so separating each purchase from the next is crucial. Randomly assigning order numbers will make managing your store extremely difficult.

If you are running your eCommerce store on WooCommerce, you may have noticed that your WooCommerce order numbers are not always in sequential order.

This can be annoying and hard to maintain, especially when your store has large orders. So why does this happen, and how can it be solved? Can you create custom order numbers in your WooCommerce store? Let’s answer these questions in this article.

📌

Key Takeaways:

  • By default, WooCommerce does not assign order numbers in a sequential manner, which can hinder efficient order management and bookkeeping for your store.
  • The WebToffee WooCommerce Sequential Order Numbers plugin is a freemium solution for creating custom sequences for WooCommerce order numbers.
  • For stores that handle free orders, it is advisable to create a separate order number sequence to simplify bookkeeping and avoid confusion.

Why Are WooCommerce Order Numbers Not In Sequential Order?

A missed sequence of orders is not necessarily missing orders or orders that went unrecorded in your system. This happens because of how WordPress records orders in the database.

WordPress identifies every element, such as posts, pages, attributes, categories, tags, etc., as ‘posts’ and assigns them a post ID. Elements related to WooCommerce, like products, orders, etc., are also considered post types and are given unique post IDs.

In the case of order numbers, the order ID is the same as its post ID.

WordPress assigns IDs to these elements sequentially as they are created. So if you create a blog post, add products to the store, or create a new page in between, you receive the two orders, the orders will not have consecutive numbers.

Example of WooCommerce order numbers not in sequential order
Non-sequential WooCommerce order numbers

Let’s say you have two orders, Order A and Order B. The order ID for order 1 is 1000. After you receive Order A, you create a blog post on your website. In this case, the post IDs will be assigned to Order A first, then the blog post, and then Order B. So Order A will have the post ID 1000, the blog will have the post ID 1002, and Order B will have the post ID 1003. Thus breaking the sequence of the order numbers.

This is the reason why there is a good chance that not all your orders have sequential orders in WooCommerce. This brings a problem when it comes to bookkeeping and inventory management, especially if you have a large number of orders.

Make Your WooCommerce Order Numbers in Sequential Order

Increase Your Efficiency in WooCommerce Order Management

Get Plugin Now

How to Make WooCommerce Order Numbers in Sequential Orders?

Sequential order numbers are important for a store for many reasons. They are important for inventory management, important for invoice management and will also give you peace of mind that no order has gone missing.

So, what’s the solution? You can’t avoid posting articles or adding a new page to the website. So, the solution would be to assign another custom sequence for the order numbers and let it follow that sequence. To do that, you need the help of a plugin.

Sequential Order Numbers for WooCommerce (Free plugin)
Sequential Order Numbers for WooCommerce (Free plugin)

Sequential Orders for WooCommerce is a free plugin that will help you create WooCommerce orders in a repeating sequence. There are three simple steps that you need to follow to create consecutive order numbers for your WooCommerce store.

Step 1: Install WebToffee Sequential Order Numbers for WooCommerce

From your WordPress dashboard, go to the plugin installer and search for ‘Sequential order numbers for WooCommerce’.

Sequential Order Numbers for WooCommerce Plugin

Once you find the WebToffee Sequential Order Numbers for WooCommerce plugin,  click on Install Now and then activate the plugin. 

💡

Did You Know?

WebToffee Sequential Order Numbers plugin has an active installation of 40,000+ websites and holds an impressive average rating of 4.8 out of 5 stars, making it one of the most highly regarded sequential order number plugins available on WordPress.org.

Source: WordPress.org

Step 2: Configure Sequential Order Numbers

After you install the plugin, go to the plugin Setting page from WooCommerce > Settings > Sequential Order. By default, the starting order number is set as 1.

  • Let’s set the starting number for the order as 2000. Any new order after adding the plugin will have the order number starting from 2000, increasing in sequential order for the subsequent orders.
Set up screen for WooCommerce Order Number for WooCommerce (free plugin)
Setting up Sequential Order Number for WooCommerce (Free)

If these settings are sufficient for you, then save the changes, and you need not make any further changes. And then, you will have the order numbers sorted in that order.

WooCommerce order numbers in sequence
Order Numbers in Sequence

Step 3: Create Custom Order Number Sequence

You can create your custom order numbers in four different formats.

WooCommerce custom order number formats
Custom order number formats
  1. [Number] – For example with starting number 1000, you get the order numbers like – 1000, 1001, 1002,…
  2. [Prefix][Number] – For example for starting number 1000 and prefix ON, you get the series of orders as – ON1000, ON1001, ON1002,…
  3. [Date][Number] – For example for the date format with the current month the order sequence will become January1000, January1001, January1002,…
  4. [Prefix][Date][Number] – For example with prefix as ON, date format as the current month, and starting number 1000, you will get the order sequence as ONJanuary1000, ONJanuary1001, ONJanuary1002,…

The plugin provides ten pre-defined date formats to be used in the order number sequence.

Custom order number date formats
WooCommerce custom order number date formats
  • Next, you have the option to set the order number length. This option lets you maintain a fixed length for the order number sequence.
  • From the Start number field, you can start the order sequence from any number.
  • If you’d like, you can change all the existing order numbers to follow the sequence, or you can get the next order to start with the new number sequence.

Following are the additional features that you can achieve using this plugin:

  • Preview your custom order number sequence
  • Enable admin order search for custom orders
  • Enable order tracking for customers to find order details easily
  • Supports Subscription order numbers 

How to Create Custom Order Numbers for WooCommerce Free Orders?

When you have free orders on your website, you may want to keep them separate from the paid orders. Free orders are the orders that have zero sub-total. This can benefit you by keeping track of your revenue from sales independently of the number of orders.

The free version of the Sequential Order for WooCommerce plugin does not provide the option for creating a separate sequence for free orders. This option comes in the premium version of the WebToffee WooCommerce Sequential Order Numbers plugin plugin. 

Once you purchase and install the plugin, follow the steps below to create a separate sequence for free orders in your WooCommerce store.

Step 1: Set Custom Order Numbers for Paid Orders

Go to WooCommerce > Settings > Sequential Orders. Activate the license for the plugin so that you will get notifications for all the updates. Configure the plugin to have a custom order number for the paid orders. Set the format that you want for the paid orders.

Setting up screen for Sequential Order Numbers for WooCommerce (premium plugin)
Setting up Sequential Order Numbers for WooCommerce (premium) plugin

Step 2: Enable Seperate Order Numbers for Free Orders

Enable the option for a Separate sequence for free orders. When you enable this option, two more fields will be available to you.

Creating free order number sequence
Creating free order number sequence

1 – Start number for free orders – You can select the number from which the sequence will start for free orders.

2 – Prefix – This option allows you to create a separate prefix for the free orders so that you can differentiate between free and paid orders separately.

For example, you can set the order number to start from 1000 and have the prefix ‘FREE’ so that the order numbers will be as FREE1000, FREE1001,… etc.

Free WooCommerce order number sequence
Free order number sequence

WebToffee Sequential Order Number Plugin Premium

WebToffee WooCommerce Sequential Order Numbers Premium Plugin

The premium WooCommerce Sequential Order Numbers plugin helps you create unique order number sequences with custom prefixes, suffixes, dates, and more. It offers different order number formats to create custom order number sequences for WooCommerce orders. The plugin lets you auto-reset order numbers on a daily, monthly, or yearly basis.

Key features of the plugin:

  • Different order number formats to create a custom order number sequence
  • Auto-reset for custom order numbers at a set interval
  • Custom increment for the custom order numbers
  • Dynamic preview of the custom order numbers
  • Keep existing order numbers intact
  • Easy order tracking for both store owners and customers

Frequently Asked Questions

Can I make order numbers in WooCommerce sequential without using a plugin?

No. To create order numbers that follow a series in your WooCommerce store, you must assign a custom sequence to the order numbers. This feature is not built into WordPress or WooCommerce, and you will need a plugin to assist you with it. 

How can I create a custom order number sequence in my WooCommerce store?

WooCommerce does not have any feature to do that. However, with the help of a plugin, you can set custom suffixes or prefixes, start numbers, or any other custom number to your orders.

What is an example of a sequential order number?

Sequential order numbers are the order numbers that follow a series, usually with increments of 1. For example, 1001, 1002, 1003,… and so on. You can also set custom increments for the series to follow, for example, 1000, 1005, 1010,… and so on.


How can I add a prefix to my order numbers?

Sequential Order Numbers for WooCommerce plugin can help you make your order numbers in sequence and also add a prefix to these order numbers. In the Order number format field, you can add a custom prefix, date of the order, or both to the order numbers.

How can I change the starting number of the order numbers?

You can change the starting number of your order sequence with the help of the Start Number option in the Sequential Order Number for the WooCommerce plugin. The plugin will also give you the option to start the order numbers with the subsequent new orders or change the existing order number with the specified start number.

Wrap Up

WooCommerce does not yet provide an option for creating custom and sequential order numbers. The Sequential Order Number for WooCommerce plugin is a great option for overcoming this.

Do you find that sequential order numbers are game-changing for managing orders in your WooCommerce store? Let us know in the comments below.

Article by

Content Writer @ WebToffee. With a background in journalism, I focus on eCommerce and data privacy. I've been writing about data protection and eCommerce marketing for over two years, crafting content that makes complex regulations easy to understand. I help businesses and individuals navigate evolving legal requirements and stay updated with the latest privacy standards.

Got any query? Please leave a comment or reach out to our support

Your email address will not be published. Required fields are marked *

No More Random Sequence of WooCommerce Order Numbers