0

I want to have a form on the front end of the site asking for the WooCommerce Order Number and phone number.

Once the user submitted the details, it'll check for orders and if the data matched then it'll change the order status from processing to complete. If not, then it'll show an error message.

I have followed this method but this is not quite what I am looking at.

Also, this code is applicable on the My Account page. But I want the form to be public.

I tried using Contact Form 7 to get the data also as mentioned here. But with no success.

Any direction you guys can provide me so that I'll move ahead from there?

Thank you in advance.

1 Answer 1

0

I published a plugin who does exactly what you need. But form is loaded in the client details order page. May be it could help you: https://wordpress.org/plugins/cf7orderstatusswitcher/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.