Exclude product_content from backend search fields
-
Hi, we have a woocommerce store (using bookshop, child theme of storefront), and has 13.000 items in store, predicted about 20.000 items.
We use fibosearch for the frontend, that search engine is perfect there.
Problem is in the backend (admin) search, where the default search engine is searching in (at least) product ID, title, sku and content field. As of the products are books, the content field contains so many text, if we look for a book in admin, the results contains too many irrelevant items. For example “batman begins” search terms will contain all result of books where batman and begins words are there.
I would like to exclude the search for content field, and I searched for hours on stackoverflow, tested dozens of solutions, and none of them working. WP6.2 all plugins and core is always up-to-date.
How to modify the wp_query to exclude the column post_content from it?
- The topic ‘Exclude product_content from backend search fields’ is closed to new replies.