• Hi all,

    Is there a way to limit Relevenassi to show results for products only? We have lots of empty brand pages but do not want those to show.

    For example, we may have an empty brand page for Apple with no products. If someone searches for Apple, they are directed to this page.

    How can we prevent that?

    Thank you

Viewing 1 replies (of 1 total)
  • Plugin Author Mikko Saari

    (@msaari)

    If you only ever want to show products in the search, make Relevanssi index products and nothing else. Then you won’t see anything else in the results.

    If you need to have something else in the results sometimes, you can use the post_type parameter in the search. For example

    [searchform post_type="product"]

    will create you a search form that only shows products.

Viewing 1 replies (of 1 total)
  • The topic ‘Limit results to WooCommerce Products Only’ is closed to new replies.