How to debug smarty templates with PrestaShop 1.6

Display smarty console window:

To display the smarty debug console use the smarty {debug} code in your template.

For example in the header.tpl file add the smarty {debug} code or to any other template file you are trying to debug.

Print smarty variables on screen: 



Was this article helpful?

Related Articles