WooCommerce: Let Customers Complete a Processing Order
An order can be marked as “completed” only by the WooCommerce store manager – manually. In certain cases, this operation may be automatic i.e. for downloadable orders.
However, what if we want our customers to complete (confirm) their processing order instead? Well, this is quite easy: we display a “CONFIRM ORDER” button under My Account > Orders, and on click some code triggers the status change. Enjoy!
PHP Snippet: “Confirm Order” Button @ My Account > Orders
Please let me know in the comments if everything went as expected. I would be happy to revise the snippet if you report otherwise (please provide screenshots). I have tested this code with Storefront theme, the WooCommerce version listed above and a WordPress-friendly hosting.
Check out these free video tutorials. You can learn how to customize WooCommerce without unnecessary plugins, how to properly configure the WooCommerce plugin settings and even how to master WooCommerce troubleshooting in case of a bug!
Business Bloomer Founder
Author, WooCommerce expert and WordCamp speaker, Rodolfo has worked as an independent WooCommerce freelancer since 2011. His goal is to help entrepreneurs and developers overcome their WooCommerce nightmares. Rodolfo loves travelling, chasing tennis & soccer balls and, of course, wood fired oven pizza.
4 thoughts on “WooCommerce: Let Customers Complete a Processing Order”
Hello, Rodolfo. Great work as always!
I’m trying to create a button “Click me to complete this order” and place this on a private page, on the frontend, that managers have access. I already have the order object on this page. Any idea on how to run the
on the click of a button?
Hi William, thanks so much for your comment! Yes, this is definitely possible, but I’m afraid it’s custom work. If you’d like to get a quote, feel free to contact me here. Thanks a lot for your understanding!
How much would such a solution cost?
Hi Max, thanks so much for your comment! If you’d like to get a quote, feel free to contact me here. Thanks a lot for your understanding!