前言介紹
- 這款 WordPress 外掛「Sequential Order Numbers for WooCommerce」是 2012-04-01 上架。
- 目前有 20000 個安裝啟用數。
- 上一次更新是 2025-04-22,距離現在已有 11 天。
- 外掛最低要求 WordPress 5.6 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 7.4 以上。
- 有 29 人給過評分。
- 論壇上目前有 1 個提問,問題解答率 100% ,不低,算是個很有心解決問題的開發者團隊了!
外掛協作開發者
maxrice | bekarice | nekojira | skyverge | tamarazuk | chasewiseman |
外掛標籤
woocommerce | order number | woocommerce orders | sequential order number |
內容簡介
這個外掛可自動為新訂單設定連續訂單編號,並延伸了 WooCommerce 的功能。若在安裝時已存在現有訂單,連續訂單編號將從當前最高訂單編號開始。
這個外掛需要 WooCommerce 3.9.4 或更新的版本。
使用這個外掛不需要額外的設定,而且非常容易使用。啟用它後,訂單將自動連續編號。
如果您的商店裡沒有訂單,您的訂單編號將從 1 開始計數。如果您已有現有訂單,計數將從最高訂單編號繼續進行。
如果您曾經下過測試訂單,您必須將其刪除才能從「1」開始排序(刪除的訂單必須計算在內,以防它們被還原,因此它們必須完全消失)。
支援詳情
我們支援我們的免費外掛和擴充套件,但請理解我們更優先處理高級產品的支援。我們通常每隔幾天(通常每週最多延遲一周)檢查論壇。
Sequential Order Numbers Pro
如果您喜歡這個外掛,但希望能夠設定起始編號,或者添加自訂前綴 / 後綴到訂單編號中(例如,您希望像 WT101UK、WT102UK 等等),請考慮使用我們的 WooCommerce Sequential Order Numbers Pro 外掛,這個外掛在 WooCommerce Store 上可供購買。
更多詳情
請瀏覽產品頁面以查看完整詳情。
請查看專業版。
查看更多由 SkyVerge 開發的免費 WooCommerce 擴充套件
查看所有SkyVerge WooCommerce 擴充套件
有興趣做出貢獻嗎?您可以在GitHub 上找到這個專案,歡迎您的貢獻 🙂
如果您想讓您的付款網關與 Sequential Order Numbers 兼容,或其他可以篩選訂單編號的外掛,請進行一個小更改。在儲存訂單資料時,請將參考從 $order->id 變更為: $order->get_order_number()
這預設情況下與 WooCommerce 核心相容,因為訂單編號通常等於訂單 ID。然而,這也讓您與我們的外掛等相容,因為訂單編號可以被篩選(這就是我們使用它使其連續的方式),因此使用訂單編號是首選。
以下是一些其他的幫助開發人員的注意事項:
使用訂單編號取得訂單
如果您想要根據連續訂單編號來存取訂單,您可以使用下列輔助方法:
$order_id = wc_sequential_order_numbers()->find_order_by_order_number( $order_number );
這將提供您訂單的 ID(文章 ID),您可以根據此獲取訂單物件。
取得訂單編號
如果您可以存取訂單 ID 或訂單物件,您可以輕鬆使用 WooCommerce 核心函數依據連續訂單編號。
$order = wc_get_order( $order_id );
$order_number = $order->get_order_number();
原文外掛簡介
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
See the product page for full details.
Check out the Pro Version.
View more of SkyVerge’s free WooCommerce extensions
View all SkyVerge WooCommerce extensions
Interested in contributing? You can find the project on GitHub and contributions are welcome 🙂
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();
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Sequential Order Numbers for WooCommerce」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
1.3 | 1.0.0 | 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.2.4 | 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.7.0 | 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.9.6 | 1.9.7 | trunk | 1.10.0 | 1.10.1 | 1.11.0 |
延伸相關外掛(你可能也想知道)
Google for WooCommerce 》, Google Listings & Ads可讓您輕鬆地向Google平台上的購物者展示您的產品。無論您是數位廣告的新手還是市場營銷專家,您都可以通過免費和廣告來擴大您的...。
WooCommerce Shipping & Tax 》WooCommerce Shipping & Tax 外掛可讓基本的電子商務功能如運送更加可靠,并減輕了您的網站基礎架構壓力。, 使用 WooCommerce Shipping & Tax 外掛,...。
WooCommerce PayPal Payments 》PayPal 最新、功能最完備的付款處理解決方案。除了接受 PayPal 獨有的付款方式,也可接受信用卡/借記卡和本地付款方式。開啟 PayPal 付款選項或處理完整的付...。
WooCommerce Legacy REST API 》總結:, - 在WooCommerce 9.0版本起,Legacy REST API將不再是WooCommerce的一部分。, - 這款外掛程式在WooCommerce 9.0及以後版本中還原了已移除的Legacy RE...。
WP Crontrol 》WP Crontrol 可以讓您查看和控制 WP-Cron 系統中正在發生的事件。從管理界面,您可以:, , 查看所有的 Cron 事件以及它們的參數、循環間隔時間、回撥函數以及...。
PDF Invoices & Packing Slips for WooCommerce 》這個 WooCommerce 外掛可以自動為您的客戶在訂單確認電子郵件中添加 PDF 發票。包括一個基本模板(額外的模板可從 WP Overnight 購買),以及修改/建立自己的...。
Variation Swatches for WooCommerce 》為 WooCommerce 產品屬性打造美麗的顏色、圖片和按鈕變化的樣式, 如何安裝 WooCommerce 變化樣式外掛程式升級可變產品, , 變化樣式是易於使用的 WooCommerce ...。
WooCommerce Cart Abandonment Recovery 》現在是時候停止購物車放棄行為,並找回您失去的收入了!, 研究顯示,約有60%至80%的使用者前往結帳頁面,但沒有完成購買。即使最佳優化的結帳流程也有20%的...。
Pinterest for WooCommerce 》Pinterest 提供人們下一個偉大的想法。它部分收藏品,部分市場,是數百萬個分享者獲取靈感、新產品和新可能性的一站式購物平台。它就像一個視覺搜尋引擎,引...。
Google Analytics for WooCommerce 》這個外掛提供了 Google Analytics 與 WooCommerce 外掛之間的整合,您可以將推薦連結與購買關聯,並將交易資訊新增到您的 Google Analytics 資料中。它還支援...。
User Switching 》這個外掛可讓您輕鬆在 WordPress 中點擊按鈕即可快速切換使用者帳戶。您會立即登出並切換成所需使用者。這對於測試環境、協助 WooCommerce 網站上的客戶或任...。
WooCommerce Checkout & Funnel Builder by CartFlows 》#1 WooCommerce 結帳 & 漏斗建置外掛 – CartFlows, ★★★★★, 相較於其他所有的 WooCommerce 結帳選項,更多 WooCommerce 商店店主都選擇了 CartFlows。為什麼呢...。
FiboSearch – Ajax Search for WooCommerce 》這是最受歡迎的 WooCommerce 產品搜尋外掛。它為您的用戶提供了一個設計良好的 AJAX 高級搜尋條和即時搜尋建議。, 預設情況下,WooCommerce 提供了一個非常簡...。
YITH WooCommerce Quick View 》有時半途而廢是最好的:如果你正在檢視產品列表,但其圖片仍然太小,需要打開該產品頁面,等待載入,最後才能觀察你感興趣的項目。, 因此,為什麼不使用一種...。
Custom Product Tabs for WooCommerce 》此外掛擴充了 WooCommerce 功能,允許商店擁有者針對產品添加自訂選項卡。這些選項卡顯示在每個產品頁面上,出現在預設的「描述」選項卡右側。, 個別產品選項...。