Site icon Hip-Hop Website Design and Development

wc_get_template_part doesnt display the content

hello guys when i try to loop products it’s just display the div but not product info

the image of the result

function stsearch_products($data) {
  $args = array(
      'post_type'     => 'product', 
      'product', 'posts_per_page' => -1,
      'order'         => 'ASC' // ASC
  );
  $args['s'] = $data['search-title'];
  

  $loop = new WP_Query( $args );
  ob_start();
  if ( $loop->have_posts() ) :

      do_action( 'woocommerce_before_shop_loop' );

      woocommerce_product_loop_start(); 


          while ( $loop->have_posts() ) :

              $loop->the_post();

              wc_get_template_part( 'content', 'product' );

          endwhile;
  
      woocommerce_product_loop_end(); 


      do_action( 'woocommerce_after_shop_loop' ); 


  else :

      do_action( 'woocommerce_no_products_found' );

  endif; 

 
  wp_reset_postdata(); 
  return ob_get_clean();

}