{"id":11371,"date":"2013-06-25T02:30:36","date_gmt":"2013-06-25T06:30:36","guid":{"rendered":"http:\/\/info.template-help.com\/?p=11371"},"modified":"2017-02-22T03:32:17","modified_gmt":"2017-02-22T08:32:17","slug":"prestashop-how-to-clear-smarty-cache","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/prestashop-how-to-clear-smarty-cache.html","title":{"rendered":"Prestashop 1.5.x. How to clear Smarty cache"},"content":{"rendered":"<p><\/p>\r\n<p>In this tutorial we will show you how to clear Smarty cache in PrestaShop.<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=wOPJuODWm40?width=1280&amp;height=720\" rel=\"prettyPhoto\">Prestashop 1.5.x. How to clear Smarty cache<\/a><\/p>\r\n<p>PrestaShop uses Smarty language for its templating system. A lot of the theme file contents are kept in Smarty cache folder. Sometimes, when you are editing files or enabling or disabling modules, the content of your website does not show the latest changes. This is because PrestaShop is still showing the cached content and not the latest changes made by you. <\/p>\r\n<\/p>\r\n<h3 class=\"custom\">Clear Cache in Prestashop admin panel<\/h3>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2011\/10\/How_to_clear_Smarty_cache_Prestashop_1_5.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2011\/10\/How_to_clear_Smarty_cache_Prestashop_1_5-300x129.png\" alt=\"\" title=\"How_to_clear_Smarty_cache_Prestashop_1_5\" width=\"300\" height=\"129\" class=\"alignnone size-medium wp-image-29276\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/10\/How_to_clear_Smarty_cache_Prestashop_1_5-300x129.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/10\/How_to_clear_Smarty_cache_Prestashop_1_5-150x64.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/10\/How_to_clear_Smarty_cache_Prestashop_1_5.png 962w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<p>1. Open Prestashop admin panel and go to <strong>Advanced Parameters &gt; Performance<\/strong><\/p>\r\n<p>2. Set <strong>Force compile<\/strong> to <strong>Yes <\/strong>and save changes.<\/p>\r\n<p>3. Go to your front-office and refresh the store page.<\/p>\r\n<\/p>\r\n<h3 class=\"custom\">Clear cache manually<\/h3>\r\n<p>For manual cache clear you need to access your Prestashop installation directory and delete the content of the following folders:<\/p>\r\n<ol>\r\n<li><strong>cache\/smarty\/compile<\/strong><\/li>\r\n<li><strong>cache\/smarty\/cache<\/strong><\/li>\r\n<li><strong>img\/tmp<\/strong><\/li>\r\n<\/ol>\r\n<p>Delete all the files in the folders, except of index.php.<\/p>\r\n<p>Reload your website in browser to take a look at the changes you have made.<\/p>\r\n<p>That&#8217;s it! You should see the changes you made after cache is cleared.<\/p>\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=wOPJuODWm40?width=1280&amp;height=720\" rel=\"prettyPhoto\">Prestashop 1.5.x. How to clear Smarty cache<\/a><\/p>\r\n<p><\/p>\r\n<p><\/p>\r\n<p><\/p>\r\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>In this tutorial we will show you how to clear Smarty cache in PrestaShop.<\/p>\n","protected":false},"author":37,"featured_media":29278,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[732],"tags":[1171,2564,906,905,552,1082],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/11371"}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/37"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=11371"}],"version-history":[{"count":0,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/11371\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/29278"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=11371"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=11371"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=11371"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}