You probably have a theme that overrides the search. Relevanssi uses the default search bar and most of the time replaces the default search without issues, but if your theme is doing something custom there, it will override Relevanssi. Seeing your site would help.
The free version of Relevanssi doesn’t search for users anywhere. Searching for users is a Premium feature that only works in the front end, not the admin backend. Searching for products in the admin backend is flaky: it sometimes works, and sometimes doesn’t, for reasons only WooCommerce knows.
The Relevanssi admin search (Dashboard > Admin search) always works for searching products (and users with the Premium version), so you can use that to check that the indexing is correct and everything’s working with Relevanssi.
You can only search for post types that are indexed, and indexing WooCommerce orders is not possible. The post type is blocked in Relevanssi, because searching for WooCommerce orders is very complicated thanks to WooCommerce, and I’ve disabled it so people won’t shoot themselves in their leg with it.
Hi Mikko thank you for your response
Ok i will ask him to check the theme….. am using TravelerWP if it makes any difference…..
Ahhhh the only reason I am using this plugin is because I thought it could be used for woocommerce orders. The stock woocommerce search is utter crap. Takes ages to load, doesnt search order names very well and same thing with users so I was under the impression this plugin could be used on admin backend for searching order IDs and customer names. I dont use products in woocommerce, just use their payment system only but need a solution for live searching users and orders…. any suggestions to remedy this if this plugin doesnt do those?
Ok, so I understand now why your dev couldn’t get this to work. You’re trying to do something very unusual that doesn’t work by default unless significant customisations are made.
Searching for WooCommerce orders is disabled by default because it’s really complicated – WooCommerce doesn’t make it easy. However, I have documentation for those who wish to venture into it. There’s a lot of work involved in getting Relevanssi to index all the relevant content for the orders, as WooCommerce distributes that data in many places.
If you jump through all those hoops to get the orders indexed, Relevanssi doesn’t replace the default WooCommerce order search, but you can then build a custom page in the front end that uses Relevanssi Live Ajax Search. That way, you can get a live search that searches for Woo orders better than Woo does.
It’s a lot of custom work, though.
thanks for this info.
So for woocommerce orders, I only need 2 things for it to ‘index’. The customer name on the order and the order ID number. thats it. I dont need any other data for search purposes…… i literally need to be able to quick find orders based on either the order id or the customer name / surname…..
The example code includes both order number and the customer name, so point your developer to the documentation and all they need to do is to copy, paste, and remove the unnecessary bits.