Loading...

Smarty debug console

We no longer maintain the Knowledge Base since version 4.3.x. All the latest user and developer documentation for 4.3.x and newer versions is now available at docs.cs-cart.com.

  • This article applies to CS-Cart versions:
  • 3.0.x

Smarty template debug console can be used while editing template files. It clearly demonstrates the tree of the processed template files.You can enable the template debug console by selecting the ‘Template debugging console’ check box (on the "Settings" page in the CS-Cart admin panel).

To see Smarty debug console in the storefront, you need to be logged in as an administrator.

The Smarty template debug console includes the following parameters:

  • included template and config files (load time in seconds) - this section includes the information about the processed template files, so you can better orient yourself in the template structure. Also you see the load time, which can be of use for optimization.

 

  • assigned template variables (displays Smarty variables assigned by user)

 

  • assigned config file variables (outer template scope) - this section displays predefined Smarty variables

 

<< Read previous
Home / Docs / Appendix / Tools and Information Sources / Smarty debug console