Remove specific products from ajax search results
-
Hello,
I am wondering if it is possible to exclude certain products from the ajax search results. I have these products excluded from the regular shop loop but not the search loop.
I used ACF to create a taxonomy for products called “Visibility” which has a list of user roles that can be toggled on. I would like to only show product a,b, and c only to users with the role that the taxonomy has checked off.
Is this possible?
Thankyou in advance for your time.EDIT: I found the solution in another post. I misinterpreted the solution in the other post but realized it works now.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Remove specific products from ajax search results’ is closed to new replies.