Turning on smarty template debugging (Turn off pop-up blocker)
file: Smarty.class.php
set:
```php
var $debugging = true;
```[/QUOTE]
You can enable the template debugging by checking “Template debugging console” in General settings and then logging into your store using the admin user account.
If you only want smarty debugging console capability to be only viewable by you and not by the public, or whoever is browsing the store while you have your “debugging” checkbox ticked.
This is how I do it.
In the lib/templater/Smarty.class.php file, around line 488, change
var $_smarty_debug_id = 'SMARTY_DEBUG';
to
var $_smarty_debug_id = 'A_SECRET_KEY_ONLY_KNOWN_TO_YOURSELF';
Meaning, replace ‘SMARTY_DEBUG’ with a easy to remember but private key/id.
This will be appended to your URL whenever you want to show the smarty debugging console.
Then replace
var $debugging_ctrl = 'NONE';
with
var $debugging_ctrl = 'URL';
In the future, whenever you want to show the template debugging console for any of your cs-cart page, just append the secret key to your store url.