
Friends using WordPress for foreign trade e-commerce websites may have noticed a problem: WooCommerce order numbers are not sequential. For example, the previous order might be 11526, and the next order becomes 11538, not numbered consecutively. As shown in the figure below:
Reasons for Non-Sequential WooCommerce Order Numbers
Why are WooCommerce order numbers not consecutive?
The reason for this problem is WordPress's own naming mechanism. In WordPress, whether you publish articles, pages, upload images, or perform auto-saves, a new ID is generated. So if you have these operations between two orders, the ID numbers will be discontinuous.
Method to Make WooCommerce Order Numbers Generate Sequentially
Making order numbers generate sequentially is relatively simple. We just need to customize the order number naming rules. Below are 3 free plugins found by Naiba for generating sequential WooCommerce order numbers.
Sequential Order Number for WooCommerce
After installing this plugin, you can find the settings for order rules in the WooCommerce menu. If not set, it will automatically generate starting from 1 by default.
WooCommerce Sequential Order Numbers
This plugin extends WooCommerce by automatically setting sequential order numbers for new orders. If there are existing orders at installation, the sequence number will start from the current highest order number.
This plugin also has a paid version sold in the WooCommerce marketplace, which can achieve more customized order numbering features.
Custom Order Numbers for WooCommerce
This plugin also has a premium version, but the free version's features are sufficient.
Related Tutorials: