Prestashop Override Access

classes/Product.php has a method getPriceStatic() .

Introduction PrestaShop is a powerful, open-source e-commerce platform known for its flexibility. However, every merchant eventually hits a limitation: a module doesn’t work exactly as needed, or a core feature behaves differently than desired. Modifying core files directly is a recipe for disaster (lost updates, security holes). This is where PrestaShop Overrides come to the rescue. prestashop override

PrestaShop caches class indexes. Go to Advanced Parameters > Performance and click "Clear cache". classes/Product

Create /override/classes/Product.php

return $original_price;

<?php // /override/classes/Product.php class Product extends ProductCore prestashop override