What are PrestaShop overrides and why should I be careful with them?

1368 views

Overrides let you modify PrestaShop core behavior without editing core files directly. They work by replacing specific classes or controllers with your custom version. The problem: only one override per class is possible. If two modules override the same class, one will break the other. This is the #1 cause of module conflicts in PrestaShop. Modern modules use hooks and Symfony services instead. When evaluating modules, prefer those that do not require overrides.

Learn more: hooks vs overrides in PrestaShop.

Was this answer helpful?

Still have questions?

Can't find what you're looking for? Send us your question and we'll get back to you quickly.

Loading...
Back to top