Override concept in cscart

What is the concept of overriding in cscart. how we override core php files,controller,addons,tpl files

in this.I search on google but not found enough knowledge about this.

Please tell us what is the way of overriding.


It is Smarty


An “override” is a template override (actually it's a block of code within a template).

But you reference PHP files which are no able to be overridden.

Most core/*.php files have fn_set_hook() calls within their functions that allow you to alter the data/behavior of that function but you can't simply override a core file.

Additionally, you can use 'pre' or 'post' controllers to modify data before or after the core php function and standard controllers operate.

Maybe if you described what you wanted to do, we could recommend the best approach for you to use.