Child pages
  • Understanding the Preferences

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Force compile. Only enable this if you are making edits theme, and need to see your changes every time you reload your page.
  • Cache. Only disable this if you debugging a theme or a module for PrestaShop. Otherwise, you should probably not touch this.
Note

PrestaShop features a Smarty debug console, which gives you valuable information on a template page. Read more about it at http://www.smarty.net/docsv2/en/chapter.debugging.console.tpl. Note that the console opens in a pop-up window: make sure to make your browser allow them for your shop's domain name.

You can activate it by adding a URL parameter: add ?SMARTY_DEBUG at the end of any URL in order to display it
Because this console might display private information, make sure to only enable it when in maintenance mode. Do not keep it enable on a production store.

To make sure it cannot be accessed in production mode, open /config/smarty.config.inc.php, then:

Code Block
// replace this:
$smarty->debugging_ctrl = 'URL'; // 'NONE' on production
// with this:
$smarty->debugging_ctrl = 'NONE'; // 'NONE' on production

Combine, Compress and Cache (CCC)

...