Hey guys,
Tested with default Pro theme.
We have WooCommerce products with a visibility set to “Hidden”.
When doing a search, these products are still displayed.
Please advise.
All best,
B
Hey guys,
Tested with default Pro theme.
We have WooCommerce products with a visibility set to “Hidden”.
When doing a search, these products are still displayed.
Please advise.
All best,
B
Hey @thisisbbc,
Thanks for testing the parent Pro theme. Our themes do not have special treatment for search results though (at least as far as I currently know).
The result you see is powered by WordPress’ default search engine. Would you mind checking the search results using the default WordPress theme like the TwentyNineteen theme? If the issue persists, this issue is not caused by our theme.
If the issue persists though, there might be a filter in our theme that I’ve missed. Please let us know the result first before we investigate if this is an issue with our theme.
Thanks.
Hey @christian_y,
I did some further research and it looks like this is the expected behavior when there isn’t the “&post_type=product” argument in the search query URL.
A bit of a bummer and counter-intuitive if you ask me but I guess we’ll have to find something else to have hidden products…
Hello @thisisbbc,
It’s good to know that you have found out the Github post. Yes, you may need to find other way. Perhaps this link might help you:
Regards.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.