Sequential Order Numbers WordPress Function
What it does?
-
Settings tab in WooCommerce: Enable/disable the feature, set a prefix, and control the “next number.”
-
Assigns on order creation: When a new order is created, increments the counter and saves the composed number to the order.
-
Front-end/admin display: Replaces the visible order ID with your custom number across WooCommerce (emails, “Thank you” page, My Account, admin lists).
Why it’s useful?
-
Branding & readability: Human-friendly, branded order numbers look professional and are easier to reference with customers and couriers.
-
Operational clarity: Sequential numbers simplify auditing, fulfillment, and offline paperwork.
-
Collision-resistant: Uses a database update for the increment step to minimize race conditions on busy stores.
