title: WP child theme weirdness
body: <p>Okay, SO I have made a very basic child theme for just a few theme tweaks.  The trouble is when I replace one of the woocommerce templates it causes completely unexpected HTML to be rendered.  Can anyone show me where I am going wrong?</p>
  
  <p>Original template:</p>
  
  <pre><code>&lt;?php
  /**
   * Single Product Price, including microdata for SEO
   *
   * @author      WooThemes
   * @package     WooCommerce/Templates
   * @version     1.6.4
   */
  
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
  
  global $post, $product;
  ?&gt;
  &lt;div itemprop="offers" itemscope itemtype="http://schema.org/Offer"&gt;
  
      &lt;p class="price"&gt;&lt;?php echo $product-&gt;get_price_html(); ?&gt;&lt;/p&gt;
  
      &lt;meta itemprop="price" content="&lt;?php echo $product-&gt;get_price(); ?&gt;" /&gt;
      &lt;meta itemprop="priceCurrency" content="&lt;?php echo get_woocommerce_currency(); ?&gt;" /&gt;
      &lt;link itemprop="availability" href="http://schema.org/&lt;?php echo $product-&gt;is_in_stock() ? 'InStock' : 'OutOfStock'; ?&gt;" /&gt;
  
  &lt;/div&gt;
  </code></pre>
  
  <p>Rendered HTML:</p>
  
  <pre><code>&lt;div itemprop="offers" itemscope itemtype="http://schema.org/Offer"&gt;
  
      &lt;p class="price"&gt;&lt;span class="amount"&gt;&amp;#36;1.60&lt;/span&gt;&amp;ndash;&lt;span class="amount"&gt;&amp;#36;25.00&lt;/span&gt;&lt;/p&gt;
  
      &lt;meta itemprop="price" content="1.6" /&gt;
      &lt;meta itemprop="priceCurrency" content="USD" /&gt;
      &lt;link itemprop="availability" href="http://schema.org/InStock" /&gt;
  
  &lt;/div&gt;
  </code></pre>
  
  <p>Child template:</p>
  
  <pre><code>&lt;?php
  /**
   * Single Product Price, including microdata for SEO
   *
   */
  
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
  
  global $post, $product;
  ?&gt;
  &lt;div itemprop="offers" itemscope itemtype="http://schema.org/Offer"&gt;
  
  &lt;?php if (is_product() and $post-&gt;post_name == 'club-high-fear'): ?&gt;
  
        &lt;p class="price"&gt; &lt;?php echo $product-&gt;get_price_html(); ?&gt; per month&lt;/p&gt;
  
  &lt;?php elseif (is_product() and $post-&gt;post_name == 'club-medium-fear'): ?&gt;
  
        &lt;p class="price"&gt; &lt;?php echo $product-&gt;get_price_html(); ?&gt; per month&lt;/p&gt;
  
  &lt;?php elseif (is_product() and $post-&gt;post_name == 'club-low-fear'): ?&gt;
  
        &lt;p class="price"&gt; &lt;?php echo $product-&gt;get_price_html(); ?&gt; per month&lt;/p&gt;
  
  &lt;?php elseif (is_product() and $post-&gt;post_name == 'self-study-online-course'): ?&gt;
  
        &lt;p class="price"&gt; &lt;?php echo $product-&gt;get_price_html(); ?&gt; per course&lt;/p&gt;
  
  &lt;?php elseif (is_product() and $post-&gt;post_name == '10-week-workshop'): ?&gt;
  
        &lt;p class="price"&gt; &lt;?php echo $product-&gt;get_price_html(); ?&gt; per workshop&lt;/p&gt;
  
  &lt;?php elseif (is_product() and $post-&gt;post_name == 'coaching'): ?&gt;
  
        &lt;p class="price"&gt; &lt;?php echo $product-&gt;get_price_html(); ?&gt; per minute or $25 per email&lt;/p&gt;
  
  &lt;?php else: ?&gt;
         &lt;p class="price"&gt; &lt;?php echo $product-&gt;get_price_html(); ?&gt;&lt;/p&gt;
  &lt;?php endif; ?&gt;
  
      &lt;meta itemprop="price" content="&lt;?php echo $product-&gt;get_price(); ?&gt;" /&gt;
      &lt;meta itemprop="priceCurrency" content="&lt;?php echo get_woocommerce_currency(); ?&gt;" /&gt;
      &lt;link itemprop="availability" href="http://schema.org/&lt;?php echo $product-&gt;is_in_stock() ? 'InStock' : 'OutOfStock'; ?&gt;" /&gt;
  
  &lt;/div&gt;
  </code></pre>
  
  <p>And child template's rendered HTML:</p>
  
  <pre><code>&lt;div itemprop="offers" itemscope itemtype="http://schema.org/Offer"&gt;
  
      &lt;p class="price"&gt;&lt;span class="amount"&gt;&amp;#36;1.60&lt;/span&gt;&amp;ndash;&lt;span class="amount"&gt;&amp;#36;25.00&lt;/span&gt;&lt;/p&gt;
                &lt;p class="price"&gt;&lt;span class="amount"&gt;&amp;#36;1.60&lt;/span&gt;&amp;ndash;&lt;span class="amount"&gt;&amp;#36;25.00&lt;/span&gt; per minute or $25 per email&lt;/span&gt;
  
  
      &lt;meta itemprop="price" content="1.6" /&gt;
      &lt;meta itemprop="priceCurrency" content="USD" /&gt;
      &lt;link itemprop="availability" href="http://schema.org/InStock" /&gt;
  
  &lt;/div&gt;
  </code></pre>
  
  <p>I dont understand why the price is being outputted twice or why the meta tags are getting pulled inside the p tag that doesnt even close, any insights would be much appreciated.  Also one of my first questions here so school me if I did anything wrong.</p>