title: Using getChildHtml to display product attributes not working
body: <p>I have added a  to my catalog.xml file, created a specifications.phtml file to be used as the template, and I’m calling echo $this->getChildHtml(’specifications’); in my view.phtml file.</p>
  
  <p>However it’s not displaying anything at all. I’ve basically mirrored everything after the same type of thing for the product description (which works) but I’m not having any luck.</p>
  
  <p>The content that I’m trying to pull in is under the product page and I think a custom section that is labeled “Specifications Tab”. Not sure if the space in the field name is causing issues or what.</p>
  
  <p>Here is what I have in my view.phtml file:</p>
  
  <pre><code>&lt;div id="product-tabs" class="tabs"&gt;
  
      &lt;ul class="tabs-nav"&gt;
          &lt;li&gt;&lt;a href="#tab-description"&gt;&lt;?php echo $this-&gt;__('Description'); ?&gt;&lt;/a&gt;&lt;/li&gt;
  
          &lt;?php
          $specificationsTabContent = $_product-&gt;getSpecificationsTab(); 
          $videoTabContent = $_product-&gt;getVideoTab();
          $faqTabContent = $_product-&gt;getFaqTab();
          $howitworksTabContent = $_product-&gt;getHowitworksTab();
          $awardsTabContent = $_product-&gt;getAwardsTab();
  
          ?&gt;
  
          &lt;?php #if ($this-&gt;getChildHtml('specifications_tab')): #($this-&gt;getChildHtml('product_attributes')): ?&gt;
          &lt;?php if (!empty($specificationsTabContent)) : ?&gt;
          &lt;li&gt;&lt;a href="#tab-details"&gt;&lt;?php echo $this-&gt;__('Specs'); ?&gt;&lt;/a&gt;&lt;/li&gt;
          &lt;?php endif; ?&gt;
  
          &lt;?php if (!empty($videoTabContent)) : ?&gt;
          &lt;li&gt;&lt;a href="#tab-video"&gt;&lt;?php echo $this-&gt;__('Videos14'); ?&gt;&lt;/a&gt;&lt;/li&gt;
          &lt;?php endif; ?&gt;
  
          &lt;?php if (!empty($faqTabContent)) : ?&gt;
          &lt;li&gt;&lt;a href="#tab-faq"&gt;&lt;?php echo $this-&gt;__('FAQs'); ?&gt;&lt;/a&gt;&lt;/li&gt;
          &lt;?php endif; ?&gt;
  
          &lt;?php if (!empty($howitworksTabContent)) : ?&gt;
          &lt;li&gt;&lt;a href="#tab-howitworks"&gt;&lt;?php echo $this-&gt;__('How It Works'); ?&gt;&lt;/a&gt;&lt;/li&gt;
          &lt;?php endif; ?&gt;
  
          &lt;?php if (!empty($awardsTabContent)) : ?&gt;
          &lt;li&gt;&lt;a href="#tab-awards"&gt;&lt;?php echo $this-&gt;__('Awards'); ?&gt;&lt;/a&gt;&lt;/li&gt;
          &lt;?php endif; ?&gt;
  
          &lt;!-- &lt;li&gt;&lt;a href="#tab-tags"&gt;&lt;?php #echo $this-&gt;__('Tags'); ?&gt;&lt;/a&gt;&lt;/li&gt; --&gt;
  
          &lt;?php if ($this-&gt;getChildHtml('snippet_product_view_tab_1')): ?&gt;
              &lt;li&gt;&lt;a href="#tab-custom-1"&gt;&lt;?php echo $this-&gt;__('Custom 1'); ?&gt;&lt;/a&gt;&lt;/li&gt;
          &lt;?php endif; ?&gt;
  
          &lt;?php if ($this-&gt;getChildHtml('snippet_product_view_tab_2')): ?&gt;
              &lt;li&gt;&lt;a href="#tab-custom-2"&gt;&lt;?php echo $this-&gt;__('Custom 2'); ?&gt;&lt;/a&gt;&lt;/li&gt;
          &lt;?php endif; ?&gt;
      &lt;/ul&gt;
  
      &lt;div class="tabs-content"&gt;
  
          &lt;div id="tab-description"&gt;
              &lt;?php echo $this-&gt;getChildHtml('description'); ?&gt;
          &lt;/div&gt;
  
          &lt;div id="tab-details"&gt;
              &lt;?php #echo $this-&gt;getChildHtml('specifications'); ?&gt;
              &lt;?php echo $specificationsTabContent; ?&gt;
          &lt;/div&gt;
  
          &lt;div id="tab-faq"&gt;
              &lt;?php echo $faqTabContent; ?&gt;
          &lt;/div&gt;
  
          &lt;div id="tab-video"&gt;
              &lt;?php echo $videoTabContent; ?&gt;
          &lt;/div&gt;
  
          &lt;div id="tab-howitworks"&gt;
              &lt;?php echo $howitworksTabContent; ?&gt;
          &lt;/div&gt;
  
          &lt;div id="tab-awards"&gt;
              &lt;?php echo $awardsTabContent; ?&gt;
          &lt;/div&gt;
  
          &lt;!-- &lt;div id="tab-tags"&gt;
              &lt;?php echo $this-&gt;getChildHtml('product_additional_data') ?&gt;
          &lt;/div&gt; --&gt;
  
          &lt;?php if ( $this-&gt;getChildHtml('snippet_product_view_tab_1') ): ?&gt;
          &lt;div id="tab-custom-1"&gt;
              &lt;div class="snippet snippet-product-view-tab-1"&gt;&lt;?php echo $this-&gt;getChildHtml('snippet_product_view_tab_1') ?&gt;&lt;/div&gt;
          &lt;/div&gt;
          &lt;?php endif; ?&gt;
  
          &lt;?php if ( $this-&gt;getChildHtml('snippet_product_view_tab_2') ): ?&gt;
          &lt;div id="tab-custom-2"&gt;
              &lt;div class="snippet snippet-product-view-tab-2"&gt;&lt;?php echo $this-&gt;getChildHtml('snippet_product_view_tab_2') ?&gt;&lt;/div&gt;
          &lt;/div&gt;
          &lt;?php endif; ?&gt;
      &lt;/div&gt;
  
    &lt;/div&gt;
  </code></pre>
  
  <p>This is the XML I added to my catalog.xml:</p>
  
  <pre><code>            &lt;!-- specifications --&gt;
              &lt;block type="catalog/product_view_specifications" name="product.specifications.tab" as="specifications" template="catalog/product/view/specifications.phtml"/&gt;
  </code></pre>
  
  <p>And this is the template file specifications.phtml:</p>
  
  <pre><code>&lt;?php $_specifications = $this-&gt;getProduct()-&gt;getSpecificationsTab(); ?&gt;
  
  &lt;?php if ($_specifications): ?&gt;
      &lt;h2&gt;&lt;?php echo $this-&gt;__('Specifications') ?&gt;&lt;/h2&gt;
  
      &lt;div class="long-description std"&gt;
          &lt;?php echo $this-&gt;helper('catalog/output')-&gt;productAttribute($this-&gt;getProduct(), $_specifications, 'specifications') ?&gt;
      &lt;/div&gt;
  &lt;?php endif; ?&gt;
  </code></pre>
  
  <p>Any help would be greatly appreciated! I’m not overly familiar with Magento or PHP.</p>
  
  <p>Thanks,</p>