Prestashop 1.7.1 | Print product array

add in the template :

{$product|@print_r}

 

Then if you refresh the page you see something like this :

 

 

Now you can see all the contents of the array ( in my case, the array generated from var $product ).