title: Replace product title by the SKU in Woocommerce single product page
body: <p>I am using Woocommerce and on the Product pages I would like to display the SKU instead of the product title.</p>
  
  <p>I've tried this code: </p>
  
  <pre><code>add_action( 'woocommerce_single_product_summary', 'custom_before_title' );
  function custom_before_title() {
  
      global $product;
  
      if ( $product-&gt;get_sku() ) {
          echo $product-&gt;get_sku();
      }
  
  }
  </code></pre>
  
  <p>but the SKU is displayed just after the price and this is not what I want. 
  I would like at least that the SKU is displayed just after the product title.
   How can I do that?</p>
  
  <p>Any help is appreciated.</p>