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 XAMPP, copy the extracted source code folder and paste it into the XAMPP's "htdocs" directory. And if you are using WAMP, paste it into the "www" directory.
  4. Browse the PHPMyAdmin in the browser. i.e. http://localhost/phpmyadmin
  5. Create a 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.

Enjoy :)

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.


1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.


Submitted byhanad5 (not verified)on Mon, 02/27/2017 - 06:37

Hello, i created the DB with the same name "pos" and imported properly but i receive this kind of error text. response plz

Add new comment