title: Opencart check if specific product is in stock
body: <p>I want to be able to check to see if a specific product is in stock or enabled or disabled.  I would then like to put this block of code on the checkout page.  More specifically it will go in Gift_Wrap.xml.  I have a product called Gift Box and it goes out of stock quite frequently.  How can I have it check if that specific product is enabled and then display x y or z.</p>
  
  <pre><code>&lt;?php if ($product_id['GIFTBOX']) { ?&gt;              
    if($this-&gt;data['status']=$this-&gt;language-&gt;get('enable'){
      //do this
    }
    else if{
      //do this
    }
  &lt;?php } ?&gt;
  </code></pre>
  
  <p>Not sure if I am on the right track or not.  What do I need to call before this to get the data options of that product.  New to Opencart and PHP thanks for your help.
      </p>