title: Display a custom product field before short description in WooCommerce
body: <p>I've a problem with adding a new field in WooCommerce, before short description.</p>
  
  <p>I used script in <code>functions.php</code> and my new custom field is displayed correctly but: </p>
  
  <ul>
  <li>Short description disappear when use script, a new field is display fine.</li>
  <li>I can edit the content of a field on a product page, but I can't delete it. It is always the last value.</li>
  </ul>
  
  <p>How can I display this custom field without removing the product short description?<br>
  How can I reset this custom field content?</p>
  
  <p>Here is my code:</p>
  
  <pre><code>// Add a custom Field
  add_action( 'woocommerce_product_options_general_product_data', 'woo_add_custom_general_fields' );
  
  function woo_add_custom_general_fields() {
  
    global $woocommerce, $post;
  
      woocommerce_wp_text_input( 
          array( 
              'id'          =&gt; '_text_field', 
              'label'       =&gt; __( 'Termin dostawy', 'woocommerce' ), 
              'placeholder' =&gt; 'np: 7 dni',
              'desc_tip'    =&gt; 'true',
              'description' =&gt; __( 'Wpisz przewidywany termin dostawy, np: 7 dni.', 'woocommerce' ) 
          )
      );
  
  }
  
  // Save the custom field
  add_action( 'woocommerce_process_product_meta', 'woo_add_custom_general_fields_save' );
  function woo_add_custom_general_fields_save( $post_id ){
      $woocommerce_text_field = $_POST['_text_field'];
      if( ! empty( $woocommerce_text_field ) )
          update_post_meta( $post_id, '_text_field', esc_attr( $woocommerce_text_field ) );
  
  }
  
  // Display the custom field
  add_action('woocommerce_short_description', 'magik_custom_text', 10, 1);
  function magik_custom_text()
  {
       global $product;
  
       global $woocommerce, $post;
       echo "Termin dostawy: ".get_post_meta( $post-&gt;ID, '_text_field', true );
  }
  </code></pre>
  
  <p>Function responsible for display:</p>
  
  <pre><code>add_action('woocommerce_short_description', 'magik_custom_text', 10, 1);
  function magik_custom_text()
  {
  </code></pre>