online shopping system
PHP Projects

Online Shopping System In PHP With Source Code

Project: Online Shopping System in PHP with source code

– To download the Online Shopping System project with source code(Scroll down)

Online Shopping System is developed using PHP, CSS, and JavaScript. The project is a useful project. This project contains the admin side and user side where a user can view shopping items details, sign up, and buy products online. While the admin can add items and users, products, manage them, and soon.

About System

Talking about the features of this system, the admin can manage the users, products, and check subscribers. While the user can shop for all the available shopping items by signing in. And, in order to buy products online, he/she has to sign up/in through the system.

The user can shop for multiple items and pay online through cards. This simple project is similar to the online shop portal. The design of this project is very simple so that the user won’t find any difficulties while working on it.

How To Run??

To run this project you must have installed a virtual server i.e XAMPP on your PC. The Online Shopping System in PHP with source code is free to download, Use for educational purposes only!

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 “ecommerce” and then click on the import tab
7th Step: Click on browse file and select “onlineshop.sql” file which is inside the “database” folder
8th Step: Click on go.

After Creating Database,

9th Step: Open a browser and go to URL “http://localhost/online-shopping-system/”

For the admin panel, go to URL “http://localhost/online-shopping-system/admin/”

For the project demo, you can have a look at the video below:

https://www.youtube.com/watch?v=17PDlF6WwEo
project demo

DOWNLOAD ONLINE SHOPPING SYSTEM IN PHP WITH SOURCE CODE: CLICK THE BUTTON BELOW



Got stuck or need help customizing this System as per your need, go to our PHP tutorial or just comment down below and we will do our best to answer your question ASAP.

4 2 votes
Article Rating
Subscribe
Notify of
guest
37 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Online Shopping System in PHP with source code | Source Code & Projects – PHP coding

[…] Online Shopping System In PHP With Source Code […]

Mujtaba
2 years ago

Though this is amazing website with the latest trends and working fine actually I need to know about the password and email security I mean encryption decryption. secondly why admin panel is open for everyone? there must be an admin login and password form before accessing admin panel. also, price range slider is not working checkin process should provide options to users not every one has bank accounts please do notice my queries it would be great for everyone , by the way, thanks for each and every project guys you are doing wonderful job for those who cannot afford… Read more »

Guest69
Guest69
2 years ago

Looking forward for this system, hope you can make it better.

Everyone can access admin, no admin account. Please fix
Cart* not really working. Please fix
Search* not really working. Please fix
and more..

Guest69
Guest69
2 years ago
Reply to  Guest69

*User cannot view My Profile

Guest69
Guest69
2 years ago
Reply to  codeprojects

are you guys making this project better?

Angel Rodriguez
Angel Rodriguez
2 years ago
Reply to  codeprojects

thank you very much for the sharing friend, i will try to make the changes hope everyone can share the fixes!

Angel Rodriguez
Angel Rodriguez
2 years ago

just the search bar please

Angel TheKind
Angel TheKind
2 years ago
Reply to  codeprojects

or were can i buy the hole project friend?

Takeru
1 year ago
Reply to  codeprojects

Hi Admin, wanna ask did you re missing clotheslist.php ? Because I cant delete the product after added it. Can you fix these? Tq.

thucdaik
thucdaik
2 years ago

Thank very much

Angel TheKind
Angel TheKind
2 years ago

were do i can buy the hole project?

Divyanka
Divyanka
2 years ago

how to edit categories into this?

wangning
2 years ago
Reply to  Divyanka

the categories of this system connect with database,you just need change the cat_id values,BTW,you still need fix more problem about nav,good luck

Nikita
Nikita
2 years ago

I have an error that on screen “INR”
Please tell me what to do

Alif
2 years ago
Reply to  Nikita

open. online-shopping-system–>db.php

delete all.

and copy paste

<?php

$servername = “localhost”;
$username = “root”;
$password = “”;
$db = “ecommerece”;

// Create connection
$con = mysqli_connect($servername, $username, $password,$db);

// Check connection
if (!$con) {
  die(“Connection failed: ” . mysqli_connect_error());
}

?>

lk
lk
1 year ago
Reply to  Alif

Had the same issue and copy-pasted as you advised, getting new error:

INR
Parse error: syntax error, unexpected ‘failed’ (T_STRING), expecting ‘)’ in C:\xampp\XAMPP 2\htdocs\Online1\db.php on line 13

Priyanka
Priyanka
1 year ago
Reply to  Nikita

In Admin panel in mange product the product is not deleting can p/z tell me what to do?

Lk
Lk
1 year ago
Reply to  Nikita

Hi, were you able to solve this, kindly assist, having the same error

Anish
Anish
10 days ago
Reply to  Nikita

Hey do you have a report on this project

Suresh Gavali
Suresh Gavali
2 years ago

Can i get ER diagram of this project So I can Learn more.
This is very nice project for learning purpose

Last edited 2 years ago by Suresh Gavali
amir sohail
2 years ago

<a href=”https://worldtoplist.net/famous-athletes-quotes/”>famous athletes quotes
</a>

Mujahid
2 years ago

Many many thanks. Code is working fine. great.

AHMED
AHMED
2 years ago
Reply to  Mujahid

hello can you please send it to my mail my codes are not working

Unknow
Unknow
2 years ago

Im sorry that I have change some stuff of your project, I just want to test a few thing. Im done now, thank you so much for sharing this.

lk
lk
1 year ago

Hi, were you able to solve this, kindly assist, having the same error …

Ahmeed
Ahmeed
1 year ago

When I click delete it goes to the “Page not found”, may I know how to fix this?

sajib
sajib
1 year ago

Sir, the Order page is not working for me, I have tried for multiple order, and its showing in MySQL but not showing on the webpage
How can I resolve them? Please give a solution

Pratik soni
1 year ago

Why not show admin panel in order to any product
What is problem pls solve and me notice

Ananya B S
Ananya B S
1 year ago

Sir how to the slick theme of the web page

Zan Starasinic
Zan Starasinic
1 year ago

Search bar still not working, I mean it’s loaded for a second but goes back to all products.

Sweety
Sweety
1 year ago

what is password for admin login?
please let me know asap

zeeshan
1 year ago

sir i am shucked in admin page where i cannot get any order so kindly give me solution asap thank you

Tommy
Tommy
1 year ago

With this online shop project, is it code with PDO or Procedural in PHP?

Wendy
Wendy
1 year ago

Warning: mysqli_connect(): (HY000/1045): Access denied for user ‘root’@’localhost’ (using password: NO) in C:\xampp\xampp\htdocs\online-shopping-system\db.php on line 9
Connection failed: Access denied for user ‘root’@’localhost’ (using password: NO)

Appear this when trying to open in chrome. Already try to search all the method online but still fail to solve it. Please help, thanks.

Mujahid
Mujahid
30 days ago
Reply to  Wendy

Please use your phpmyadmin user and password in db.php

architha
architha
9 months ago

first where do we get htdocs folder to copy the file

37
0
Would love your thoughts, please comment.x
()
x