Well, I think the title is containing the purpose of my question.

Prestashop documentation is not, in my opinion, clear about updates and their effects. I find no sentence in the documentation indicating that I can always override front controllers without caring my changes are deleted after update to newer versions.

I sometimes understand that the best way to work using Prestashop as a developper is to create modules (not adding or removing from /override/controllers/front/).

Please to explain to me please I am a newbie in Prestashop.

Regards.

有帮助吗?

解决方案

That is what the overrides are for. When you upgrade the overrides stay in place and keep the functionality. Also the template directory has a modules directory and a css/modules directory. They are for overrides to modules. You can override the templates and the css files in those directories and when you upgrade modules they will not be affected.

One thing to watch about controller overrides is that when you upgrade major versions the override might not be compatible with the changes made to the new controllers.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top