PHP Projects

Simple Shopping Cart In PHP With Source Code

Project: Simple Shopping Cart in PHP with source code

About Project

Simple Shopping Cart is developed using PHP, CSS, Bootstrap, and JavaScript. Talking about the project, it contains an admin side and user side where a user can select the item and add it to shopping cart easily. The admin plays an important role in the management of this system. In this project, the user has to perform all the main functions from the admin side.

About System

Talking about the features of the Simple Shopping Cart, the user can simply select any of the available products and add them to cart. From the admin panel, the admin takes control of the system. In order to add products the user has to provide item name, price and image. He/she can manage all the products, orders and view all the cart details. The admin can also manage customers account.

Design of this project is pretty simple so that the user won’t find any difficulties while working on it. Simple Shopping Cart in PHP helps the user in managing all the shopping cart. To run this project you must have installed virtual server i.e XAMPP on your PC (for Windows). Simple Shopping Cart in PHP with source code is free to download, Use for educational purposes only! For the project demo, have a look at the image slider below.

Features:

  1. Login System
  2. Admin Panel
  3. Item Management
  4. Customer Management
  5. Order details
  6. Shopping cart list
  7. Customer account setting
How To Run??

After Starting Apache and MySQL in XAMPP, follow the following steps

1st Step: Extract file
2nd Step: Copy the main project folder
3rd Step: Paste in xampp/htdocs/

Now Connecting Database

4th Step: Open a browser and go to URL “http://localhost/phpmyadmin/”
5th Step: Then, click on the databases tab
6th Step: Create a database naming “edgedata” and then click on the import tab
7th Step: Click on browse file and select “edgedata.sql” file which is inside “DATABASE” folder
8th Step: Click on go.

After Creating Database,

9th Step: Open a browser and go to URL “http://localhost/edgesketch/”

Provide the username and password which is provided inside the “Readme.txt” file.

LOGIN DETAILS ARE PROVIDED IN “Readme.txt” FILE INSIDE THE PROJECT FOLDER

DOWNLOAD SIMPLE SHOPPING CART IN PHP WITH SOURCE CODE: CLICK THE BUTTON BELOW

(Before you proceed to download, please complete the captcha below)

5
Leave a Reply

avatar
3 Comment threads
2 Thread replies
1 Followers
 
Most reacted comment
Hottest comment thread
4 Comment authors
RahulpremanthFabian RosAndy Chang Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
Andy Chang
Guest
Andy Chang

Hi,

I face the following error when logging as customer. May i know what’s the fixes for this? I have changed to mysqli but it doesn’t work too.

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\xampp\htdocs\edgesketch\Customers\shop.php:305 Stack trace: #0 {main} thrown in C:\xampp\htdocs\edgesketch\Customers\shop.php on line 305

Thank you.

Andy Chang
Guest
Andy Chang

Is ok.. Got it fix using mysqli method as i m using php7. Thanks. Nice tutorial.

premanth
Member
premanth

Hai sir,

Sign in not working.

after signup successfully.

I cannot sign in the account.

warning:mysqli_num_rows() expects parameter 1 to be mysqli_result, bool given in C:\xampp\htdocs\edgesketch\userlogin.php on line 22

please how to solve it

Rahul
Guest
Rahul

Hi,

I cannot sign in the account.
warning:mysqli_num_rows() expects parameter 1 to be mysqli_result, bool given in C:\xampp\htdocs\edgesketch\userlogin.php on line 22.