Hooking is a concept in programming that deals with control flow. A hook is just a special place in the source code which serves as an entry point for some external code.

Thanks to this technique, you can create an add-on and hook it to the necessary part of code. As a result, your add-on will work without affecting the core functionality.

CS-Cart uses two kinds of hooks—in the source code (PHP hooks) and in the templates (TPL hooks). In this section you can find both hook types explained.

Here you can read some general information on hooking.