Source Code

Sales And Inventory System with Online Reservation in PHP/CodeIgniter with Source Code

This project is a Sales and Inventory System with Online Reservation in PHP/CodeIgniter. This project manages the sales transaction and inventory (stock monitoring) of a certain School Bazaar. This system has an admin panel where the admin user can manage the data such as the product list. The admin can also create a dynamic user role that can manage the limited access in the admin staff such as a Cashier role that the permission can be set to view reports and manage the POS feature. This system has a pleasant user-interface and user-friendly functionalities. The Online Reservation side will be the customer side which they can explore and reserve the products and read the pages. This project also has a simple dynamic Content Management Feature.

This Sales and Inventory System with Online Reservation was developed using CodeIgniter v3.0.6 Framework, one of the best PHP frameworks. We’re also using PDO to connect to the database. This project was built for Carlos Hilado Memorial State College (CHMSC) Techno Bazaar.



  • Manage the products
  • View reservations
  • Manage user management
  • Generate reports


  • Accepting orders and payments
  • View reservations
  • Generate reports


  • Add to Cart
  • Reserve orders
  • Proceed to checkout


  • List of reserved products
  • Print reservation report


  • List of products sold and products on hand
  • Print inventory report


  • Payment
  • Print sales report


  • Product specification
  • Price
  • View available stocks

How to Run


  • Download and Install a local web server such as XAMPP/WAMP.
  • Download the provided source code zip file.


  1. Open your XAMPP/WAMP’s Control Panel and start the “Apache” and “MySQL”.
  2. Extract the downloaded zip file and rename the extracted folder into “pos”.
  3. If you are using XAMPPcopy the extracted source code folder and paste it into the XAMPP’s “htdocs” directory. And if you are using WAMPpaste it into the “www” directory.
  4. Browse the PHPMyAdmin in the browser. i.e. http://localhost/phpmyadmin
  5. Create new database naming “pos”.
  6. Import the SQL file provided. The SQL file is known as “pos.sql” inside the “database” folder.
  7. Browse the Web Application in a browser. i.e. http://localhost/pos for the online reservation and http://localhost/pos/admin for the admin panel.

Note: Make sure that the source code folder name is named as “pos” or if ever you have to change the folder name make sure that you also configure the “base_url” that was set in Codeigniter and the config file path is “application/config/config.php” [configuration i.e. “$config[‘base_url’] = ‘http://localhost/FolderName'”]. Otherwise, it may cause some errors especially to included files such as the CSS and JS Files.

Admin Access

Username: admin
Password: admin123


I hope this Sales and Inventory System with Online Reservation Project in PHP/CodeIgniter will help you with what you are looking for and I hope you can learn a lot.

Sales And Inventory System with Online Reservation in PHP/CodeIgniter with Source Code 1

Related Articles

Leave a Reply

Back to top button