Delete /var/cache/dev/class_index.php (and /var/cache/prod/ in production).
In Back Office → Advanced Parameters → Performance → click "Clear cache". prestashop module override
class CustomShippingCalculatorOverride extends CustomShippingCalculator Delete /var/cache/dev/class_index
PrestaShop is one of the most flexible e-commerce platforms available, largely thanks to its modular architecture. However, there comes a time in every developer’s journey when a module doesn’t quite do what you need. The core logic is 90% perfect, but you need to tweak a method, add a filter, or change a database query. add a filter
When overriding a PrestaShop module, keep the following best practices in mind:
PrestaShop always checks the theme folder first before falling back to the module’s original template.