Basic Shopping Cart using PHP/MySQL with Source Code


This project is entitled Basic Shopping Cart. This is a web application that was developed using PHP and MySQL Database. This program allows visitors to your online shopping site to collect items in a virtual shopping cart over multiple product web pages without losing the items ordered. The system has 2 modules which are the Admin and Customer module. The Admin user can handle and manipulate the data of the system which includes the customers, items, and order details. The Customers are the ones who can shop online using this program. Customers must sign up first then login in order to explore the system's customer side functionalities.

This project was developed using PHP, MySQL Database, HTML, CSS, Javascript, and Bootstrap for the design. The source code is free to download. Feel free to modify the system the way you wanted.


Admin Side

  • Manage Items
  • Manage Customers
  • Manage Orders

Customer Side

  • Login and Registration
  • View Items
  • Add to Shopping Cart
  • Shopping Cart Item List
  • Place Order
  • View Previous Orders
  • Manage Account

How to Run


  • Download and Install any local web server such as XAMPP/WAMP.
  • Download the provided source code zip file. (download button is located below)


  1. Open your XAMPP/WAMP's Control Panel and start the "Apache" and "MySQL".
  2. Extract the downloaded source code file.
  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 a browser. i.e. http://localhost/phpmyadmin
  5. Create a new database naming "edgedata".
  6. Import the provided SQL file. The file is known as "edgedata.sql" located inside the "database" folder.
  7. Browse the Basic Shopping Cart Web App in a browser. i.e. http://localhost/EdgeSketch

Admin Account:
Username: admin
Password: admin


I hope this project in PHP and MySQL Database will help you with what you are looking for and you will find something useful for your future PHP Projects.

Enjoy :)

-Skype: live:gebb.freelancer
-Email: [email protected]
-Buy Email List:

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 byeduMonster (not verified)on Wed, 03/23/2022 - 13:42

Pinoy power!!! Thank you for the template I can use in future projects!!! Thank you!!!! Maraming Salamat

Add new comment