Jump to content

Prestashop update custom files


Recommended Posts

Hi!

 

I'm trying to update my Prestashop installation to the newest version but everytime I update it, I lose all the changes I've made to the css and tpl. I made all the changes in the files which are in themes/my template folder/modules/the module name and I used the same folder path as in the module folder in the root. I checked for these changed files and they're there, however, it won't assume them and will always load the original ones from the template. If there are custom ones directly in the theme folder, shouldn't they have priority?

 

Or is there any option to enable this?

 

I already searched for this and followed all the instructions: copy the files to the custom theme, use exactly the same path and names and it would be loaded first. Not working...

 

Thanks in advance!

Link to comment
Share on other sites

Can you post some screenshots for us?

 

Use one module as an example, include the path to the file & the filename you placed in the theme's folder.

 

Also include a screenshot or a link to your site where the module is displayed.

 

Make sure smarty cache is set to recompile the tpl files.

Link to comment
Share on other sites

Ok, for example blockcart. In the modules folder, the path is "/public_html/modules/blockcart/blockcart.css" and in my theme is "/public_html/themes/virtualleds-rexdot/modules/blockcart/blockcart.css". I used the same path.

 

I migrated the website to a new server and here's where the update was made. So you can compare the correct version and the same version after updating:

1. Website with correct changes and features - http://174.132.166.124/~virtuall/loja/

2. Website with update to 1.5.5.0. The new features I created are kept but the ones that were changed use the default values from the original files - http://75.98.171.250/~virtuall/

 

I changed the options to recompile the files.

 

Thanks!

Link to comment
Share on other sites

×
×
  • Create New...