Recently there is a request to edit a old Prestashop 1.5 site. The request is to add the add to cart button at the home featured product. That particular prestashop site is quite old and did not perform any maintenance and hence all the module is still quite old. To avoid breaking anything in the site, i managed to find out that the add to cart button is being hide using CSS. So to enable the add to cart button is just an easy task at modifying the correct css!
Prestashop use Smarty as it’s template engine and Smarty come with caching mechanism. If you are editing your template and you can’t see the changes even you refresh the page, then you can try to clear the template cache at Prestashop admin. BTW, Prestashop version 1.6 come with a handy clear cache button where you can easily clear the template cache by just clicking on the backend button. There is no need to manual delete all the cache thru FTP again!
To clear cache in Prestashop 1.6, follow the steps below:-
Recently i tried to upgrade a Prestashop system from version 1.5 to 1.6. The upgrade scripts shows no error, but when i go there are some hiccups at the backend. When i tried to upload thumbnail for my category, the upload failed. And it show the error message “Unexpected token <“. After some testing and debugging still the same, at the end i tried to reset the Category module and it magically solve the problem!