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
This code still works, unless you report otherwise. To exclude conflicts, temporarily switch to the Storefront theme, disable all plugins except WooCommerce, and test the snippet again: WooCommerce troubleshooting 101
Related content
WooCommerce: Separate Login, Registration, My Account Pages There are times when you need to send logged out customers to a Login page and unregistered customers to a standalone Register page. As you know, the WooCommerce My Account page, which contains the Login Username or email address *Required Password *Required Remember me Log in Lost your password? shortcode, has both Login and Registration forms when […]
WooCommerce: Add New Tab @ My Account Page One of the features of Business Bloomer Club is the provision of Premium WooCommerce Q&A Support to supporters who enroll. So, how to add an extra “tab” to the My Account page, and how to add content inside it? Here’s the code I used (thanks to Mike Jolley for inspiration) – feel free to leave […]
WooCommerce: How To Make A Website GDPR Compliant? (12 Steps) Ok, we all know that the EU General Data Protection Regulation (GDPR) will come into force on the 25th May 2018. So the main question is: what changes do we need to make on our WooCommerce website to become compliant? And another important query might be: how does GDPR affect non-European WooCommerce websites? In this […]
WooCommerce: How to Add a Custom Checkout Field Let’s imagine you want to add a custom checkout field (and not an additional billing or shipping field) on the WooCommerce Checkout page. For example, it might be a customer licence number – this has got nothing to do with billing and nothing to do with shipping. Ideally, this custom field could show above the […]
WooCommerce: Get Order Data (total, items, etc) From $order Object As a WooCommerce development freelancer, every day I repeat many coding operations that make me waste time. One of them is: “How to get ____ if I have the $order variable/object?“. For example, “How can I get the order total“? Or “How can I get the order items“? Or maybe the order dates, customer ID, […]
Rodolfo Melogli
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. Follow @rmelogli
6 thoughts on “WooCommerce: Let Customers Complete a Processing Order”
Hello, thanks, this worked very well. I have a scenario where I have a “Ready For Pickup” custom status, and another custom status called “Ready For Pickup – Reminder”. I made a change to the slug in the OG code and got it to work for one or the other statuses, but I would like to set this up for both. I tried adding a second cloned snippet and changing the order status slug, but it will not activate. Is there a way to add both status triggers in the same code snippet?
Brad, 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!
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
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!
Questions? Feedback? Customization? Leave your comment now! _____
If you are writing code, please wrap it like so: [php]code_here[/php]. Failure to complying with this, as well as going off topic or not using the English language will result in comment disapproval. You should expect a reply in about 2 weeks - this is a popular blog but I need to get paid work done first. Please consider joining the Business Bloomer Club to get quick WooCommerce support. Thank you!
Hello, thanks, this worked very well. I have a scenario where I have a “Ready For Pickup” custom status, and another custom status called “Ready For Pickup – Reminder”. I made a change to the slug in the OG code and got it to work for one or the other statuses, but I would like to set this up for both. I tried adding a second cloned snippet and changing the order status slug, but it will not activate. Is there a way to add both status triggers in the same code snippet?
Thanks in advance.
Brad, 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!
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?
Thank you!
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!