jfe Posted February 27, 2014 Share Posted February 27, 2014 Hi everyone, I am trying to override the BlockCart module class. To do that I, copy and paste /module/blockcart/blockcart.php in /override/classes/module/blockcart.php Change the declaration like that : class BlockCart extends BlockCartModule and in the construct function add die('Test override function 2'); to test it. I also desactivated the cache in shop admin and deleted the class_index.php in cache folder. But it still does not override my module despite the fact that in class_index.php I could see 'BlockCart' => 'override/classes/module/blockcart.php'. Please, someone can help me? Link to comment Share on other sites More sharing options...
vekia Posted February 27, 2014 Share Posted February 27, 2014 it's not possible to override module .php files. you can only override module .tpl files in your theme directory. Link to comment Share on other sites More sharing options...
jfe Posted February 27, 2014 Author Share Posted February 27, 2014 it's not possible to override module .php files. you can only override module .tpl files in your theme directory. Thanks for this quick answer Link to comment Share on other sites More sharing options...
Recommended Posts