Back to Top

Register Library File In Opencart 2.2.0.0

Updated 15 July 2016

Today we will run that how to register own library in Opencart 2.2.0.0. As we know library files are very help full at the time coding because if we use a function so many times at different place then we prefer the library files so we should use a library file for common functions. So for this we have to register our own library file. So for this we have to write some code in the front.php file which is placed under system/engine .

Screenshot_1

Here I have registered my own library file named test.php presents under library cart folder. And we can also register library file on both admin and catalog folders startup.php file.

Screenshot_2

so it is better to register a library file always in front.php file.

Searching for an experienced
Opencart Company ?
Find out More
. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


Be the first to comment.

Back to Top

Message Sent!

If you have more details or questions, you can reply to the received confirmation email.

Back to Home