Skip to main content

Simple Shopping Cart Application in PHP MySQLi with Source Code


Simple Shopping Cart Application in PHP/MySQLi

Update Info

This simple project was orginally developed and submitted to this website using PHP/MySQL Source Code and currently the source code is now using PHP/MySQLi so that you can still run the source code in PHP 5.5.0 and higher version.

Talking about the Project, this Simple shopping Cart Application in PHP/MySQLi is a simple project that can help a certain store or shop provide their customer an efficient and effective ordering process transaction online. The system has an Admin side where the store management or the system Administrator can manage the categories, products that the store sells, and also manage the customers orders. This project featured only the main functions of a certain eCommerce Website with user-friendly interface wich allow the website vistors can explore the website easily.

System Features:

  • Manage Products
  • Manage Product Category
  • Manage Orders (Unpaid, Delivered, Paid Orders)

How to Run

  1. Download the source code and extract the zip file.
  2. Download or set up any local web server that runs PHP script.
  3. Open the web-server database and create a new database name it "dbgadget".
  4. Import the SQL file located in the database folder of the source code.
  5. Copy and paste the source code to the location where your local web server accessing your local projects. Example for XAMPP('C:\xampp\htdocs')
  6. Open a web browser and browse the project. E.g [http://localhost/ecommerce]
*Source Code Submitted Date: 2016-04-06
*Updated Source Code Date: 2020-12-04

Admin Access

Email: admin
Password: admin

Installation Demo

List of Web Based Projects List of Mobile Projects (Android, IOS, Windows) Other PHP Projects (FREE DOWNLOAD Source code) Contact Info: +639102294835 Website:

For More Projects with Free Source Code, visit the link below:

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 byjaymoe (not verified)on Wed, 04/06/2016 - 20:30

quiz.. how to login to the system
Submitted byCao Văn Hiện (not verified)on Sun, 04/17/2016 - 17:58

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in S:\XAMPP\htdocs\shop\db.php:7 Stack trace: #0 S:\XAMPP\htdocs\shop\include\home\header.php(1): include() #1 S:\XAMPP\htdocs\shop\index.php(1): include('S:\\XAMPP\\htdocs...') #2 {main} thrown in S:\XAMPP\htdocs\shop\db.php on line 7
Submitted byjenner (not verified)on Thu, 09/29/2016 - 03:57

INSERT INTO virtualc_shop.order VALUES (NULL, 'aaaaaaaa aaaaaaa', '111111111111', 'aaaaaaaaaaaa', '[email protected]', '', '3400', 'unconfirmed', '09/29/16 03:57:13 AM', '') Warning: Cannot modify header information - headers already sent by (output started at /home/virtualc/public_html/shop/cart/data.php:115) in /home/virtualc/public_html/shop/cart/data.php on line 120
Submitted bySharmaine (not verified)on Mon, 05/08/2017 - 22:17

what is the username and password?
Submitted byNataraju (not verified)on Mon, 10/09/2017 - 18:13

Thanks for code. Try to show a view demo also.
Submitted byjgonz (not verified)on Fri, 03/09/2018 - 14:13

I revise it to cashiering and sales inventory web based system..The Only Problem I had is when I am gonna buy that item the item quantity in the inventory will be subtract..Please the programmer of this shopping cart send me the latest code in this system ASAP.. Please Reach me at this gmail below... [email protected]

Add new comment