Prestashop Override Work [PREMIUM]
If you are developing a module for distribution, you can include overrides within the module folder. Place your files in /modules/your_module/override/ .
PrestaShop keeps a map of all classes to improve performance. If you add a new override, the system won't "see" it until you clear the cache. prestashop override
Note: The core class Product actually references ProductCore internally. When you define class Product in the override folder, you are telling the system: "Use my Product class, which extends the original ProductCore functionality." If you are developing a module for distribution,