…best way is to unindex the products so that they don’t appear in the index at all. How that is done, depends on the version of WooCommerce and Relevanssi you’re using. Relevanssi 4.0.9 / Premium 2.1.5 and WooCommerce 3 Versions 4.0.9 and 2.1.5 introduced a better way to block excluded……want to block from the search to true. Older Relevanssi versions and WooCommerce 3 WooCommerce 3 uses taxonomy terms to handle visibility. You can create a relevanssi_do_not_index filter function for these: add_filter( ‘relevanssi_do_not_index’, ‘rlv_wc3_hidden_filter’, 10, 2 ); function rlv_wc3_hidden_filter( $block, $post_id ) { if ( has_term( array( ‘exclude-from-catalog’, ‘exclude-from-search’, ‘outofstock’…Relevanssi by default shows out-of-stock and excluded from catalogue WooCommerce products in the search results, but hides those set to excluded from search (before 2.2.2 and 4.1.2 the default behaviour was to show all products). It is quite easy to make Relevanssi not display hidden products in the results. The…