(cache of overrides)

Then in mymodule.php :

// your logic return $product['price'] * 0.05;

PrestaShop's core files contain the platform's core functionality. You can override core files to customize the platform's behavior.

PrestaShop is a popular open-source e-commerce platform that offers a wide range of features and customization options. However, there may be times when you need to override certain aspects of PrestaShop to meet specific requirements or to create a unique shopping experience for your customers. In this article, we will explore the concept of overriding PrestaShop and provide a step-by-step guide on how to do it.

return parent::install() && $this->installOverrides();

public function getPackageShippingCost($id_carrier = null, $use_tax = true, Country $default_country = null, $product_list = null, $id_zone = null)