Add Search Field Dropdown in Woocommerce Order Search via functions file

I am using the following code to limit the fields that woocommerce searches in when you search for an order - [login to view URL]

This limits the search fields to Order ID, company and email only, speeding up order search.

1. I need to have a dropdown along with the search field which will have Order ID, Billing Company, Billing Email as values. If we select Order ID, then the search should happen in Order IDs(_order_key) only, if we select Billing Company, then the search should happen in Billing Company(_billing_company) field only and so on.

2. This needs to be done via function only - I don't want to edit core wordpress/woocommerce files.

Skills: MySQL, PHP, WooCommerce, WordPress

See more: add field sql, php code add field, add field user manager joomla, woocommerce product sort and display, woocommerce search form, woocommerce product search query, replace wordpress search with woocommerce search, woocommerce add sorting drop down, woocommerce advanced search plugin, wordpress search with category dropdown, smart woocommerce search, oscommerce checkout add field, add field text virtuemart, lotus design add field, ajax add field, sugar crm dropdown add field, adsmanager add field search, cre loaded add field order, oscommerce add field order, add field search community builder

About the Employer:
( 2 reviews ) Delhi, India

Project ID: #18313537

Awarded to:


Hi, I have been customising WP themes and plugins since 2012. I will use javascript to add a dropdown with the values 'Order ID', 'Billing Company', and 'Billing Email' and modify your code to limit the search field More

₹1500 INR in 3 days
(8 Reviews)

3 freelancers are bidding on average ₹2433 for this job


?? Customer's satisfaction is my goal ?? ?? Also 100% Completion is happy of me and client. ?? ?? Rest 1% is my creative idea and honest effort. ?? Looking to be your Good Venture along with your project! Best Rega More

₹2300 INR in 4 days
(4 Reviews)

we have more than 3 years experience in WordPress. we completed many projects in ecommerce. we are able to do the job.

₹3500 INR in 4 days
(1 Review)