In this chapter we will cover most of the code that is used in OpenCart to perform different functions, which will be helpful in creating modules. We have used OpenCart Version 184.108.40.206.
OpenCart has many predefined methods that can be called anywhere, such as in the
controller folder or in the model, and in the view template files. You can find system level library files at
system/library/. The following shows the different methods, how they can be written, and what their functions are:
catalog/controller/affiliate/and likewise at
catalog/model/affiliate/. The following are the ...