Simple and Nice Shopping Cart Script in PHP with Source Code


This is a simple project called Simple and Nice Shopping Cart. This was developed using PHP and MySQL Database. This will help you learn how to create a simple eCommerce website with an admin panel. The web application admin panel is the side of the system in which the admin user can manage the products of the shop/store. While on the customer/visitor side, they can explore the products, register to the system, and their desired product to their cart. This project mainly illustrates how to handle a shopping cart of a simple online shop or eCommerce site. This doesn't have an order placement or payment features include.

This Simple and Nice Shopping Cart Project was developed using PHP, MySQL Database, HTML, CSS, Javascript, and Bootstrap. The source code file is provided on this site and can be downloaded for free. Feel free to download and modify the source code and do some enhancement or experiment so you could enhance or develop more your programming capabilities.


Admin Side

  • Manage Men's Products
  • Manage Women's Products
  • Manage Accessories Products
  • Manage Users Products
  • List User Accounts
  • Delete User
  • Manage Admin Account

Customer Side

  • Login and Registration
  • Explore Men's Products
  • Explore Women's Products
  • Explore Accessories Products
  • Add Product to Cart
  • Manage Cart
  • 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 "mkshope".
  6. Import the provided SQL file. The file is known as "mkshope.sql" located inside the "sql" folder.
  7. Browse the Simple Shopping Cart Web App in a browser. i.e. http://localhost/mkshope for the public and http://localhost/mkshope/admin for the admin panel.

Admin Access Information

Username: admin
Password: admin


That's it! You can cow explore the features and functionalities of this project. I hope this will help you with what you are looking for and for your future PHP Projects.

Happy Coding :)

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.


Add new comment