When overriding a PrestaShop module, keep the following best practices in mind:
This means you can completely replace a module’s class by placing your version in the /override/modules/ directory. prestashop module override
Delete /var/cache/dev/class_index.php (and /var/cache/prod/ in production). When overriding a PrestaShop module, keep the following
PrestaShop will automatically check your theme's folder first before loading the default module template. 5. Best Practices and Limitations When overriding a PrestaShop module