title: Magento adding custom attribute in tabs.phtml
body: <p>I need to add a custom attribute into the tabs.phtml file but when I do:</p>
  
  <pre><code>&lt;?php 
      $_product = $this-&gt;getProduct();
      echo $_product-&gt;getData('color_availability'); 
  ?&gt;
  </code></pre>
  
  <p>It throws me the following error:</p>
  
  <p>Fatal error: Call to a member function getData() on a non-object in /var/www/vhosts/website.co.uk/httpdocs/app/design/frontend/customtemplate/default/template/catalog/product/view/tabs.phtml on line 102</p>
  
  <p>$_product is NULL. </p>
  
  <p>What am I missing here? Can anybody help me with this?</p>