class Product extends ProductCore
<?php
In the world of PrestaShop development, an is a mechanism that allows you to modify the core behavior of the platform without actually changing the original source code. prestashop override
Let’s say you want to append a string "(Tax included)" to every product price displayed on the front office.
Your override must have the as the original, but extending the Core class. For Product , you extend ProductCore . For CartController , extend CartControllerCore . class Product extends ProductCore <
Manually delete /var/cache/dev/class_index.php and /var/cache/prod/class_index.php .
Let's say you want to pass a new variable to the product page template (TPL file). class Product extends ProductCore <
Core classes are located in /classes/ . Override files go in /override/classes/ .
Drive a group of angry brutes to glorious victory and elevate your father's ludus from the muck and mire of shameful defeat, restoring it to honour via ruthless bloody victory over your opponents.
May Jupiter himself hear of your exploits.