title: Get Product Category Name In Module using Prestashop 1.6
body: <p>I created my own module for prestashop (very basic currently).</p>
  
  <p>I want to add some customization to products (similar to Attribute Wizard Pro )
  Ultimate Goal: I would like for my module to display a little form on the product page depending on which category the product is in (slightly varied forms for each category) - and the results of that form would be saved when the product is purchased.</p>
  
  <p>I want to put the form in the RightColumnProduct - I can do that by accessing it in this hook and calling the TPL I created.</p>
  
  <pre><code>public function hookDisplayRightColumnProduct()
  {
      /* Place your code here. */
      /*Get the Current Category name to see which TPL to show*/
  
  
      return $this-&gt;display(__FILE__,'views/hooks/mytpl.tpl');
  }
  </code></pre>
  
  <p>What I need to do is access the category name for the current product, but that is proving difficult to do.</p>
  
  <p>I've tried various solutions with no success.</p>