title: Prestashop Ajax display of assigned template variables
body: <p>How do I display the "assigned template variables" inside a displayajax() function (I am using prestashop 1.5.6.0).</p>
  
  <p>If you go to:</p>
  
  <pre><code>sitedomain/index.php?id_product=1&amp;controller=product you see the product
  </code></pre>
  
  <p>but if you go to:</p>
  
  <pre><code>sitedomain/index.php?id_product=1&amp;controller=product&amp;ajax=true you see a blank page
  </code></pre>
  
  <p>to have some output in that page I added this function in ProductController.php and it works:</p>
  
  <pre><code>public function displayAjax()
  {
      echo "something";
  }
  </code></pre>
  
  <p>How can I access all the "assigned template variables" that I see usually in the debug console of prestashop...like $combinations $groups...</p>
  
  <p>Thank you!</p>