| 开发者 | tychesoftwares |
|---|---|
| 更新时间 | 2026年9月1日 18:07 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0.4 |
| 版权: | GNU General Public License v3.0 |
| 版权网址: | 版权信息 |
WooCommerce uses the WordPress post ID as the order number by default. Since posts, pages, products, and orders all share the same ID sequence, order numbers often contain gaps.
Yes. Customers can use the assigned custom order number together with their billing email address on the WooCommerce Order Tracking page.
Yes. The plugin is compatible with many popular WooCommerce invoice plugins, allowing invoices to display custom order numbers instead of the default WooCommerce order ID.
When you use the Custom Order Number Lite plugin, in the Database, the original Order ID created by WooCommerce remains unchanged because that Order ID is used for many core functions and by multiple plugins and themes. To use custom order numbers in a third-party plugin, you will have to contact the Support Team of the third-party plugin & ask them to make the necessary changes. They can do this by fetching the Order ID and using the below code for Custom Order Number. This code has to be used in place of where the Order ID is fetched as shown below: $custom_order_number = $order->get_order_number(); //where $order is an order object
Yes, it is possible to set the random numbers for the custom order number. Custom Order Numbers can be set in three different ways - Sequential, Random or by Order ID.
Yes, it is possible to reset the counter number. You can reset the counter number in four different ways- daily, monthly and yearly basis. There is also an option to set a number for reset counter value. This would mean that on every reset, the sequence will start with that particular number.
This is not possible in the Lite plugin. But using the Pro version, you can set the width of the custom order number on the settings page.
Custom Order Numbers plugin has a tool called ‘Renumerate Orders’. Using this tool, you can easily renumerate all the existing orders in a correct sequence.
This is not possible in the Lite plugin. But using the Pro version, you can add a prefix/suffix based on different user roles. For eg: guest-order for Guest user role, etc.
In Custom Order Numbers Lite plugin, in the Database, we do not change the original order id created by WooCommerce because that order id is used for many core functions and also by multiple plugins and themes. So what you will have to do is, you will have to contact to support team of the third-party plugin and ask them to make the necessary changes. They will have to make the changes where Order ID is been fetched and have to use the below code for Custom Order Number instead of the code used for Order ID. Here is the code they will need. $custom_order_number = $order->get_order_number(); //where $order is an order object
alg_wc_pif_* options to consolidated con_general_settings options.%d replaced with %s in sprintf(), so numbers exceeding max integer would be handled correctly (for "Pseudorandom - crc32 Hash (max 10 digits)" option).yes).