Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Damian Góra

    (@damian-gora)

    Hi,
    I didn’t plan such an option because the product suggestions are the core feature. If you really want to exclude the product from search, you can use the following filter:

    
    add_filter('dgwt/wcas/search_results/output', function($output){
        // exclude what you want from $output
        return $output;
    });
    

    or you can set catalog visibility of each product to Shop only instead Shop and search results. It’s a native WooCommerce option.

    Hello,
    my idea was also to search only in TAGS and Categories. However your filter is not working for me, it still displays products as well. Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Search only categories’ is closed to new replies.