To debug in Smarty in prestashop v1.7.x & v8.x.x:
{* These all are working same but for familiar with syntax*} {$test|@dump} // Type one {dump($test)} // Type two {$test|dump} // Type three