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