title: Issue hide product single price for variable products on WooCommerce shop and archives pages
body: <p>Im using this snippet to hide single price if the product is variable. Works fine but not apply on first product variable of loop:</p>
  <pre><code>add_action( 'woocommerce_after_shop_loop_item_title', 'hide_single_price' );
  
  function hide_single_price() {
      global $product;
      if ( $product-&gt;is_type( 'variable' ) ) {
          remove_action( 'woocommerce_after_shop_loop_item_title', 'woocommerce_template_loop_price', 10 );
      }
  }
  </code></pre>
  <p>Any idea why?</p>
  <p><a href="https://i.stack.imgur.com/3HaLv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3HaLv.png" alt="enter image description here" /></a></p>