Jump to content

Best way to edit core Prestashop (modules and theme) files


Recommended Posts


I have to edit few modules and core Prestashop theme and everytime I'm doing the Prestashop update I need to repeat this steps for every file I want to edit as they are override by new files. Is there any other option to create separate files with my edits so I don't need to touch core Prestashop files? Thanks

Link to comment
Share on other sites

  • 1 year later...
  • 2 months later...
  • 3 weeks later...



You can override a controller in your module, and then tell the controller to use your module template file instaed.


Take a look: http://doc.prestasho...dingacontroller


Not all the modules have controllers. Even if prestahop certified 1.5 commercial ones. For example rich menu.




You can override Classes, Controllers, and module template files.


Classes and Controllers go to the folder called 'override'


Module template files go to : 'themes/[YOUR_THEME_NAME]/modules/[MODULE_NAME]'


I've tried and it doesn't work. And I'm not the only one:



Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...