title: WooCommerce action hooks and overriding templates
body: <p>I have started to learn how to create templates with WooCommerce and I had faced with a little problem. For instance, in the php file content-single-product.php of Woocommerce plugin I have strings like that:</p>
  
  <pre><code>     &lt;?php
          /**
           * woocommerce_single_product_summary hook.
           *
           * @hooked woocommerce_template_single_title - 5
           * @hooked woocommerce_template_single_rating - 10
           * @hooked woocommerce_template_single_price - 10
           * @hooked woocommerce_template_single_excerpt - 20
           * @hooked woocommerce_template_single_add_to_cart - 30
           * @hooked woocommerce_template_single_meta - 40
           * @hooked woocommerce_template_single_sharing - 50
           */
          do_action( 'woocommerce_single_product_summary' );
  
      ?&gt;
  </code></pre>
  
  <p>And for example, when I want to edit this (delete some fields and change the structure) I try erase the string:</p>
  
  <blockquote>
    <p>do_action( 'woocommerce_single_product_summary' );</p>
  </blockquote>
  
  <p>and after that write like this:</p>
  
  <pre><code>&lt;?php
          /**
           * woocommerce_single_product_summary hook.
           *
           * @hooked woocommerce_template_single_title - 5
           * @hooked woocommerce_template_single_rating - 10
           * @hooked woocommerce_template_single_price - 10
           * @hooked woocommerce_template_single_excerpt - 20
           * @hooked woocommerce_template_single_add_to_cart - 30
           * @hooked woocommerce_template_single_meta - 40
           * @hooked woocommerce_template_single_sharing - 50
           */
          //do_action( 'woocommerce_single_product_summary' );
          do_action('woocommerce_template_single_title');
      ?&gt;
  </code></pre>
  
  <p>Could you tell me please why this doesn't work?</p>
  
  <p>What is the right way to edit like that?</p>
  
  <p>Thanks</p>