Prestashop — Override Module Class //free\\

// Keep original module properties parent::__construct();

Always check the PrestaShop Developer Documentation to see if a Hook can achieve your goal. Hooks are safer and more compatible than overrides. prestashop override module class

class BlockUserInfoOverride extends BlockUserInfo public function hookDisplayNav($params) // Your custom logic here return parent::hookDisplayNav($params); Use code with caution. Copied to clipboard // Keep original module properties parent::__construct()

For a deep dive into the official standards, you can explore the PrestaShop Developer Documentation which provides exhaustive details on overriding controllers and classes. php ? Overrides :: PrestaShop Developer Documentation prestashop override module class