hide event tickets from wordpress & woocommerce search
Since I run a business that sells services, online courses and physical products next to tickets for small workshops and live courses, and find that in the search results there are a lot of tickets for events (both future and past events) that I really don't want in that results. I can't just filter out the product CPT, because I also have other products in store, I do want to show.
So I really need something (preverably a setting) to prevent event tickets from appearing in the search result (both the general WP-search and the WooCommerce Search). Whatever sollution should just be able to filter out the tickets. I want visitors to find the events, (preferably the future events first), but tickets are not needed in that result, since they are part of the event-content (and default to not having a featured image, while my theme shows a grid as search result).
A snippet with the above result would also be helpfull, but I haven't found it yet.
I'm in the process of buying event tickets plus, still looking at the FAQs and other requests to see if it can fit my needs. But if Tickets are simple woocommerce products as described in the documentation then you can use default filters from woocommerce. You need to change the visibility of those products to "exclude from catalog/exclude from search" so they don't appear on woocommerce "queries"
I would really like to have a filter in the WooCommerce Product list (admin) to hide the tickets Event Ticket Plus generates there. I find the number of ticket products build up quickly and mostly I want to manage the (much smaller number of) non-event products in my store and don't want to have to plough through the entire list of events products to find those products.
Since I tend to access WooCommerce Ticket-products via the event admin page, I don't really need them in the product list, although I can Imagine it would be more flexible if a filter above the list would hide them than a setting that generally hides that products.
Both a setting to hide them structurally or a filter WooCommerce product list in the admin would do it for me, but I imagine that the latter would probably be the most flexible. Mostly I just want to see the non-ticket products.
Since I run a business that sells services, online courses and physical products next to tickets for small workshops and live courses, it would be really helpfull if the large number of event tickets wouldn't cloud the list.