Jump to content

Recommended Posts

Hello,

Why is prestashop comment every begin and end of an template file?
And how do I disable / remove this?

https://screenshotting.site/i/fcc96b.png

Share this post


Link to post
Share on other sites

These comments are guide for the developers so they can easily find files and hooked modules.

You can turn off debug mode to remove this comments.

In Prestashop 1.7 Go to Advanced Parameters > Performance and turn off debug mode

Or either you can disable manually by changing code in file  config > defines.inc.php

if (!defined('_PS_MODE_DEV_')) {
define('_PS_MODE_DEV_', false);
}

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More