Serial Posted July 23, 2015 Share Posted July 23, 2015 (edited) Hi, I've created a new theme (the same of the original, it's a copy). So in the directory /themes/, I have two folders (default-bootstrap and mytheme). I want to modify .tpl files in my theme (product-list.tpl for example). After that, if i will update my Prestashop for a future version, i wil lose my modifications of .tpl files or not ? That's the same for .js files ? Thanks for your answer ! Edited July 23, 2015 by Serial (see edit history) Link to comment Share on other sites More sharing options...
El Patron Posted July 23, 2015 Share Posted July 23, 2015 if you upgrade it's possible you will lose your changes to PS default-bootstrap. see http://doc.prestashop.com/display/PS15/Automatic+update specifically this on default theme Upgrade the "default" theme. The upgrade process overwrites the default theme with its latest incarnation. If you have made changes to the theme directly, you can protect these changes by choosing "No". As a reminder, it is NOT recommended to edit the default theme! You should make a copy of the theme, and make changes to that copy. Link to comment Share on other sites More sharing options...
Serial Posted July 23, 2015 Author Share Posted July 23, 2015 Yes, but i did a copy of the default theme because i have two themes in my directory /themes. Link to comment Share on other sites More sharing options...
El Patron Posted July 23, 2015 Share Posted July 23, 2015 anything not in ps default theme directory, will not be updated by upgrade process. 1 Link to comment Share on other sites More sharing options...
Serial Posted July 23, 2015 Author Share Posted July 23, 2015 Perfect ! Thanks a lot for your answer 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now