WooCommerce uses order statuses to track the state of orders. WooCommerce includes several different order statuses including the following:
- Completed
- Processing
- Pending payment
- On hold
- Refunded
- Canceled
- Failed
But some shops may need more order statuses. You might need a "Building" status to indicate that you started building the order. You can easily add a custom order status yourself with some custom code. We're going to start with our WooCommerce Example plugin and then we're going to register a post status and add it to WooCommerce.