Okay
  Print

limit the Search Function to Just Display Products Only.


Add this to your child theme functions.php .

function searchfilter($query) {

    if ($query->is_search && !is_admin() ) {
        $query->set('post_type',array('product'));
    }

return $query;
}

add_filter('pre_get_posts','searchfilter');

Thanks