I have raw materials on my site that I don’t want to show up on the front end of my site. However, when customers search an item in the search bar, AJAX pulls up the raw materials. Is there a way to exclude what products AJAX returns in a search?
Here is the site link. The products that I don’t want to show are raw materials. For example, whenever you type in “barrel” in the search, it brings up 2 actual products and the rest are raw materials.
Now I see what you mean, unfortunately, there is no option to exclude the product from the search. The search shows all the products related to the search query. This is Woocommerce functionality and our theme does not have options to change that.