Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering WooCommerce 4

You're reading from   Mastering WooCommerce 4 Build complete e-commerce websites with WordPress and WooCommerce from scratch

Arrow left icon
Product type Paperback
Published in Mar 2020
Publisher Packt
ISBN-13 9781838822835
Length 334 pages
Edition 1st Edition
Languages
Concepts
Arrow right icon
Author (1):
Arrow left icon
Patrick Rauland Patrick Rauland
Author Profile Icon Patrick Rauland
Patrick Rauland
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

Preface 1. Installing WordPress and WooCommerce 2. Configuring Products FREE CHAPTER 3. Organizing Products 4. Optimizing SEO and Attracting Traffic 5. Managing Sales Through WP Admin 6. Syncing Product Data 7. Configuring In-Store POS Solutions 8. Using Fulfillment Software 9. Speeding Up Your Store 10. Setting Up Your Theme 11. Customizing the Product Page 12. Building a Landing Page 13. Creating Plugins for WooCommerce 14. Other Books You May Enjoy

Customizing order statuses

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.

Using the WooCommerce Example plugin

We can start by using the example plugin we created earlier in this chapter.

We'll copy the example...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image