Answer the question
In order to leave comments, you need to log in
How to change search results in woocommerce?
If in woocommerce only one product is displayed in the search results, then a redirect to its page occurs. It is necessary that only this single product is shown in the search results. Please advise how to fix this behavior. Thank you!
Answer the question
In order to leave comments, you need to log in
If suddenly someone needs
add_filter( 'woocommerce_redirect_single_search_result', '__return_false' );
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question