E-commerce -Site in PHP with source code
PHP Projects

E-commerce Site In PHP With Source Code

Project: E-commerce Site in PHP with source code

– To download E-commerce Site project for free (scroll down)

About Project

E-commerce site project is developed using PHP, CSS, Bootstrap, and JavaScript. Talking about the project, it has all the required essential features. This project has a user side where he/she can view product category and add products to cart and proceed for checkout whereas from administration side he/she can view sales, number of product, users, daily sales report, add product and categories. The user can also leave comments on each product if he/she wants. In this project, all the main functions are performed from the Admin side.

About System

Admin has full control of the system, he/she can view daily/monthly sales report for each year, manage all existing users, add, view, edit, delete products and categories. Monthly sales report is represented in the form of Bar Graphs. While adding products, the admin has to provide Product’s name, select category, price, upload product’s photo and write a description. Adding a product category is simple, the admin just has to provide Category name. Just like the other popular e-commerce, here while looking a product’s image the images magnifies whenever mouse cursor is dragged onto it. The system redirects to Paypal for checkout. A responsive dashboard is provided in the admin panel for the easy management of the site.

In short, this E-commerce site in PHP project is a bit similar with a WordPress e-commerce site. Mostly, the adding description has the same feature of that of WordPress. All the important features that are required for an eCommerce site is set for this project. Design of this project is pretty simple and responsive so that user won’t find it difficult to understand, use and navigate.

To run this project you must have installed virtual server i.e XAMPP on your pc (for Windows). E-commerce Site in PHP is free to download with source code. For the project demo, have a look at the video below.

Features:

  1. Admin Panel
  2. Login/Sign Up
  3. Magnify product image
  4. Product Cart
  5. Google ReCaptcha
  6. Checkout using Paypal
  7. Add, Edit, Remove and View Products
  8. User Management
  9. View daily/monthly sales
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 databases tab
6th Step: Create database naming “ecomm” and then click on import tab
7th Step: Click on browse file and select “ecomm.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/ecommerce/”
For Admin Panel
Final Step: Login from the User’s login side. Just provide the Admin’s login detail, it will redirect you to Admin panel.
Note: Don’t go to URL “http://localhost/ecommerce/admin” for Admin Panel. Just provide Admin’s login detail in User’s login side.
Provide the username and password which is provided inside the “Readme.txt” file.

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

DOWNLOAD E-COMMERCE SITE IN PHP WITH SOURCE CODE: CLICK THE BUTTON BELOW

 



5 1 vote
Article Rating
Subscribe
Notify of
guest
243 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Lawrence Ansah-Addo
Lawrence Ansah-Addo
2 years ago

Is it multi-vendor?

Can you modify it into multi-vendor system? How long?

Naseeb Bajracharya
2 years ago

we might upload that feature too in upcoming days!! 🙂

kohli
kohli
1 year ago

please complete the sign up.
i tired to fix phpmailer.

umiza
umiza
7 months ago
Reply to  kohli

lanat

Japs Ralph
Japs Ralph
1 year ago

How do you change the currency?

Opeyemi Wasiu
2 months ago
Reply to  Japs Ralph

I need the same answer please, how can i change the currency, i also wanted to add some other pages i would like to have a template for about and contact us page ,and how do i remove the facebook comments

Opeyemi Wasiu
1 month ago
Reply to  Opeyemi Wasiu

I have been able to change the currency, its within the HTML pages check every pages with prices then change the ASCII

Corona Virus
Corona Virus
1 month ago
Reply to  Opeyemi Wasiu

how you did that ,can you please explain.

Revanthshiva
Revanthshiva
10 days ago
Reply to  Opeyemi Wasiu

where it is bro i can’t find it

Steven
Steven
9 days ago
Reply to  Opeyemi Wasiu

The currency is set by default in USD using HTML character code set. In the products, transactions, cart, etc .php files, find the code where there is ($) which is the code for $(USD). Change this to your preferred currency e.g EUR. Ur effort is pointless though because the website is not fully functional 🙁 but worth the learning.

Atif
Atif
1 year ago

sir never downloading the file through google drive 🙁
help me sir

pami
pami
7 months ago
Reply to  Atif

help me durdana

ndkanna
ndkanna
1 year ago

there is no database folder

Prashant
Prashant
1 year ago

There is no add to card option at all. I fixed the SMTP problem tho.

Ruben
Ruben
8 months ago
Reply to  Prashant

Hi Prasanth, could you help me on how you solved the SMTP problem to send authentication via email?? Thanks

Ruben
Ruben
8 months ago
Reply to  Prashant

can you help me out on how you fixed SMTP problem

Somebody
Somebody
1 year ago

Hello, why do you use ‘slug’ when displaying single product, why not use ‘id’ which will be unique (auto-increment in table). Isn’t it like the standard method, go by id? what if there are 2 or more similar ‘slug’ fields?

Vindhu
Vindhu
1 year ago

Sir ,I cant see any payment options in cart view.
How can the user or existing user pay and process the transaction?
The Java script for PayPal is there but where is it connected?

safaf
safaf
1 year ago

can I get the souce code for triigering (for User status) and stored procedure that you used here

guest
guest
1 year ago

Can you add quantity in this ecommerce and when the customer buy a product the quantity will deduct on how many he buys

Saumya
Saumya
1 year ago

How to properly installed ….
Please give me a YouTube video
I am student. I don’t know how is it possible. So…

hyni mohamed
9 months ago
Reply to  Saumya

contact me on email [email protected]

joshua
joshua
1 year ago

why is that register.php is blank? Can you fix this? thanks

jun
jun
1 year ago

admin panel when click on more info showing url return is not found

sourabh42@gmail.com
1 year ago

smtp authentication error

faruk
faruk
1 year ago

how to deploy on real time server ? where is ipconfig file ?

Piyush
Piyush
1 year ago

Nice Work can i host this project for testing purpose?.

soso
soso
1 year ago
Reply to  Piyush

session login not work how fix it

siva
siva
1 year ago

sir
Message could not be sent. Mailer Error: SMTP Error: Could not authenticate
I am getting this error on forgot password page
can u please tell how to fix this error
where can i change Gmail and password parameters in phpmailer

Sachin
Sachin
1 year ago

E-commerce Site In PHP With Source Code

I Have One This Project How to solve
Error This :Warning: mktime(): It is not safe to rely on the system’s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone ‘UTC’ for now, but please set date.timezone to select your timezone. in C:xampphtdocsecommerceadminhome.php on line 218

irbaz
irbaz
1 year ago

not working E-commerce Site

irbaz
irbaz
1 year ago

error not showing number of user,total sales,number of product,sales today. in admin panel dashboard please help me.what can i do

Irbaz
Irbaz
1 year ago

Sir where is book.php,student.php,return.php and borrow.php files can you please tell me sir

lusty
lusty
1 year ago

one of the best projects… can i modify and use for personal uses?

and how can i link my facebook comments to each product?

Nikola Jovanovski
Nikola Jovanovski
1 year ago

Hello, I am having a problem with SMTP, any help with that what should I do to get it fixed ?

nur hidayati
nur hidayati
1 year ago

hai can i ask you is it can register to another admin..if i want to be another admin what i want to do..?
i want the user who register the website to be admin how i want to do it? can you help me..

suabrashi
1 year ago

what will i put in database ?
id ?
name ?

Christopher
Christopher
1 year ago

Hello can you help me i want to change the pay pal payment to local payment when a customer pay the details goes direct to a database instead of paypal the java script codes confuse me please help

3cy
3cy
1 year ago

Hello, how can I change the background color of the main content and everything??

webdeveloperr
webdeveloperr
1 year ago

How can i add subcategory functionality in this code?

Muhammad Danial
Muhammad Danial
1 year ago

please “Message could not be sent. Mailer Error: SMTP Error: Could not authenticate.” please fix this or tell solution in signup process.. Thanks in advance

sudamericano
sudamericano
1 year ago

MUY BUENO..!

Adarsh
Adarsh
1 year ago

My website is not running plzz tell me fast plzz

Kripaja Thomas
Kripaja Thomas
1 year ago

sir,
I can’t find the file Readme.txt in project folder. How I know existing admin user name and password?

notsodeft
notsodeft
1 year ago

which css file should i open to edit things such as background, buttons etc?

Irbaz
Irbaz
1 year ago

Sir in registration page google recapcha is not showing what is the problem. Can you please tell me

Irbaz
Irbaz
1 year ago

Sir what is the password for [email protected]

Rajat Mishra
Rajat Mishra
1 year ago

Parse error: syntax error, unexpected ‘[‘, expecting ‘)’ in C:xampphtdocsecommerceincludessession.php on line 14 .. This error is showing pls tell me the solution. It’s urgent I want to add this full website in my project.

Rajat Mishra
Rajat Mishra
1 year ago
Reply to  Rajat Mishra

Parse error: syntax error, unexpected ‘[‘, expecting ‘)’ in C:xampphtdocsecommerceincludessidebar.php on line 13 .. The sidebar is giving the same error0.

Junaid
Junaid
1 year ago

Sir, I’ve an issue with this project. New Categories not added through admin panel. It’s been showing error while adding new category in this. Also is there any option to change payment mode from pay-pal to cash. Kindly update me regarding this. I will be thankful to you.

rbs
rbs
1 year ago

hi sir,
i am getting recaptcha error. how to solve it.
i’m generate recaptcha key and paste it .but i’m also getting error.
how to resolve it, please help me.

Morivm
Morivm
1 year ago

cat slug wont insert in in database category

usman
30 days ago
Reply to  Morivm

insert manually in db

asdadad
asdadad
1 year ago

how to add another user?

Irbaz
Irbaz
1 year ago

Error while registration. Email is not sending while registrating. Error is message could not be sent. Mailer error: SMTP Error: could not authenticate.

Sir how can i solve this error ple
ase inform me

Joshua Jenkins
Joshua Jenkins
1 year ago

Why do none of the dashboard links for “total sales”, “number of products”, “number of users” and “sales today” work?

Keita
Keita
1 year ago

Hello sir
i did all following step except stept 9 it said object not found
What can i do sir??
Thanks u

Yakshita
Yakshita
1 year ago

Not able to open admin panel
cant load only

Sif
Sif
1 year ago

Hi. This is a great work. Can you paginate the products in category.php to have a limit on how much products will we displayed. just a suggestion. Thanks.

SDM
SDM
1 year ago

Help! it says ::
Parse error: syntax error, unexpected ‘[‘, expecting ‘)’ in C:xampphtdocsES_PHPecommerceincludessession.php on line 14

helpadmin
helpadmin
1 year ago

Hey admin can you make a step by step on how to fix this SMTP mailer error , badly needed thanks.

baron
baron
1 year ago

How to change background color!!??

kee
kee
1 year ago

i have some problem about code execution. after following the steps given in the instruction nothing is displayed when i try to open the page from the browser (google chrome)

bardog
bardog
1 year ago

Hello, I was getting an error which stated SQLState420000 1046 you have an error in your sql syntax, check the manual that corresponds with your Mariadb server version for the right syntax to use where=’27” at line 1, I’ve checked the admin/ product and admin/product edit and tried to altered things but none do so . I’ve tried to checked the answer but It seems that my little brain cannot function properly because I haven’t got a long ass sleep. Please consider helping with me with this, Thank you so much. 🙂

bardog
bardog
1 year ago
Reply to  bardog

??

darshan
darshan
6 months ago
Reply to  bardog

did you get the solution of ur problem?

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