Linux 软件免费装
Banner图

Sequential Order Numbers for WooCommerce

开发者 SkyVerge
maxrice
tamarazuk
chasewiseman
nekojira
beka.rice
更新时间 2023年9月5日 11:54
PHP版本: 7.4 及以上
WordPress版本: 6.3.1

标签

woocommerce woocommerce orders order number sequential order number

下载

1.10.0 1.9.7 1.0.1 1.1.0 1.1.1 1.1.2 1.2.0 1.2.1 1.2.2 1.2.3 1.3 1.3.1 1.3.2 1.3.3 1.3.4 1.4.0 1.5.0 1.5.1 1.6.0 1.6.1 1.8.0 1.8.1 1.8.2 1.8.3 1.9.0 1.9.1 1.9.2 1.9.3 1.9.4 1.9.5 1.2.4 1.7.0 1.0.0 1.9.6 1.10.1

详情介绍:

This plugin extends WooCommerce by automatically setting sequential order numbers for new orders. If there are existing orders at the time of installation, the sequential order numbers will start with the highest current order number. This plugin requires WooCommerce 3.9.4 or newer.
No configuration needed! The plugin is so easy to use, there aren't even any settings. Activate it, and orders will automatically become sequential.
If you have no orders in your store, your orders will begin counting from order number 1. If you have existing orders, the count will pick up from your highest order number. If you've placed test orders, you must trash and permanently delete them to begin ordering at "1" (trashed orders have to be counted in case they're restored, so they need to be gone completely). Support Details We do support our free plugins and extensions, but please understand that support for premium products takes priority. We typically check the forums every few days (usually with a maximum delay of one week). Sequential Order Numbers Pro If you like this plugin, but are looking for the ability to set the starting number, or to add a custom prefix/suffix to your order numbers (ie, you'd prefer something like WT101UK, WT102UK, etc) please consider our premium Sequential Order Numbers Pro for WooCommerce plugin, which is available in the WooCommerce Store. More Details

安装:

You can install the plugin in a few ways:
  1. Upload the entire 'woocommerce-sequential-order-numbers' folder to the '/wp-content/plugins/' directory
  2. Upload the zip file you download via Plugins > Add New
  3. Go to Plugins > Add New and search for "Sequential Order Numbers for WooCommerce", and install the one from SkyVerge.
Once you've installed the plugin, to get started please:
  1. 通过 WordPress 的“插件”菜单激活插件。
  2. No configuration needed! Order numbers will continue sequentially from the current highest order number, or from 1 if no orders have been placed yet.

升级注意事项:

1.2.2 - 2012.05.25 This version requires WooCommerce 1.5.6 1.2.1 - 2012.05.13 This version requires WooCommerce 1.5.5

其他记录:

If you'd like to make your payment gateway compatible with Sequential Order Numbers, or other plugins that filter the order number, please make one small change. Instead of referencing $order->id when storing order data, reference: $order->get_order_number() This is compatible with WooCommerce core by default, as the order number is typically equal to the order ID. However, this will also let you be compatible with plugins such as ours, as the order number can be filtered (which is what we do to make it sequential), so using order number is preferred. Some other notes to help developers: Get an order from order number If you want to access the order based on the sequential order number, you can do so with a helper method: $order_id = wc_sequential_order_numbers()->find_order_by_order_number( $order_number ); This will give you the order's ID (post ID), and you can get the order object from this. Get the order number If you have access to the order ID or order object, you can easily get the sequential order number based on WooCommerce core functions. $order = wc_get_order( $order_id ); $order_number = $order->get_order_number();

常见问题:

Where are the settings?

The plugin doesn't require any :) When you activate it, it gets to work right away! Orders will automatically become sequential, starting from the most recent order number.

Why doesn't my payment gateway use this number?

For full compatibility with extensions which alter the order number, such as Sequential Order Numbers, WooCommerce extensions should use $order->get_order_number(); rather than $order->id when referencing the order number. If your extension is not displaying the correct order number, you can try contacting the developers of your payment gateway to see if it's possible to make this tiny change. Using the order number instead is both compatible with WooCommerce core and our plugin, as without the order number being changed, it will be equal to the order ID.

Can I start the order numbers at a particular number?

This free version does not have that functionality, but the premium Sequential Order Numbers Pro for WooCommerce will allow you to choose any starting number that's higher than your most current order number.

Can I start the order numbers at "1"?

If you want to begin numbering at "1", you must trash, then permanently delete all orders in your store so that there are no order numbers already being counted.

Can I set an order number prefix/suffix?

This free version does not have that functionality, but it's included in the premium Sequential Order Numbers Pro for WooCommerce.

更新日志:

2022.07.30 - version 1.9.7 2022.03.01 - version 1.9.6 2020.05.07 - version 1.9.5 2020.03.10 - version 1.9.4 2020.02.05 - version 1.9.3 2019.11.05 - version 1.9.2 2019.10.03 - version 1.9.1 2019.08.15 - version 1.9.0 2018.07.17 - version 1.8.3 1.8.2 - 2017.08.22 1.8.1 - 2017.03.28 1.8.0 - 2017.03.23 1.7.0 - 2016.05.24 1.6.1 - 2016.02.04 1.6.0 - 2016.01.20 1.5.1 - 2015.11.26 1.5.0 - 2015.07.28 1.4.0 - 2015.02.10 1.3.4 - 2014.09.23 1.3.3 - 2014.09.05 1.3.2 - 2014.09.02 1.3.1 - 2014.01.22 1.3 - 2013.04.26 1.2.4 - 2012.12.14 1.2.3 - 2012.06.06 1.2.2 - 2012.05.25 1.2.1 - 2012.05.13 1.2.0 - 2012.04.21 1.1.2 - 2012.04.18 1.1.1 - 2012.04.02 1.1.0 - 2012.04.02 1.0.1 - 2012.04.02 1.0.0 - 2012.04.02