E-commerce -Site in PHP with source code

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


Author: Fabian Ros
5 2 votes
Article Rating
Subscribe
Notify of
guest
305 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Lawrence Ansah-Addo
Lawrence Ansah-Addo
6 years ago

Is it multi-vendor?

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

Naseeb Bajracharya
6 years ago

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

kohli
kohli
6 years ago

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

umiza
umiza
5 years ago
Reply to  kohli

lanat

Prasanti Mishra
Prasanti Mishra
4 years ago
Reply to  kohli

Captcha is not working!!!

Japs Ralph
Japs Ralph
6 years ago

How do you change the currency?

Opeyemi Wasiu
4 years 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
4 years 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
4 years ago
Reply to  Opeyemi Wasiu

how you did that ,can you please explain.

Revanthshiva
Revanthshiva
4 years ago
Reply to  Opeyemi Wasiu

where it is bro i can’t find it

Rance
Rance
4 years ago
Reply to  Revanthshiva

look for the characters & # 36; and change it with your currency. It’s in the product.php, category.php, cart_view.php, admin/products.php & admin/home.php

Last edited 4 years ago by Rance
Steven
Steven
4 years 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
6 years ago

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

pami
pami
5 years ago
Reply to  Atif

help me durdana

ndkanna
ndkanna
6 years ago

there is no database folder

Prashant
Prashant
6 years ago

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

Ruben
Ruben
5 years 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
5 years ago
Reply to  Prashant

can you help me out on how you fixed SMTP problem

Ps Coders
Ps Coders
2 years ago
Reply to  Prashant

can you please send me too

Somebody
Somebody
6 years 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
6 years 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
6 years ago

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

guest
guest
6 years 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
6 years 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
5 years ago
Reply to  Saumya

contact me on email [email protected]

joshua
joshua
6 years ago

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

jun
jun
6 years ago

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

sourabh42@gmail.com
6 years ago

smtp authentication error

faruk
faruk
6 years ago

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

Piyush
Piyush
5 years ago

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

soso
soso
5 years ago
Reply to  Piyush

session login not work how fix it

siva
siva
5 years 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
5 years 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
5 years ago

not working E-commerce Site

irbaz
irbaz
5 years 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
5 years ago

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

lusty
lusty
5 years 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
5 years 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
5 years 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
5 years ago

what will i put in database ?
id ?
name ?

Christopher
Christopher
5 years 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
5 years ago

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

webdeveloperr
webdeveloperr
5 years ago

How can i add subcategory functionality in this code?

Muhammad Danial
Muhammad Danial
5 years 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
5 years ago

MUY BUENO..!

Adarsh
Adarsh
5 years ago

My website is not running plzz tell me fast plzz

Kripaja Thomas
Kripaja Thomas
5 years ago

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

notsodeft
notsodeft
5 years ago

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

Irbaz
Irbaz
5 years ago

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

Irbaz
Irbaz
5 years ago

Sir what is the password for [email protected]

Rajat Mishra
Rajat Mishra
5 years 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
5 years 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.

rick
rick
1 year ago
Reply to  Rajat Mishra

Hey have you find the solution to your problem?

Junaid
Junaid
5 years 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
5 years 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
5 years ago

cat slug wont insert in in database category

usman
4 years ago
Reply to  Morivm

insert manually in db

asdadad
asdadad
5 years ago

how to add another user?

Irbaz
Irbaz
5 years 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
5 years ago

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

Keita
Keita
5 years 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
5 years ago

Not able to open admin panel
cant load only

Sif
Sif
5 years 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
5 years ago

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

helpadmin
helpadmin
5 years ago

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

baron
baron
5 years ago

How to change background color!!??

kee
kee
5 years 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
5 years 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
5 years ago
Reply to  bardog

??

darshan
darshan
4 years ago
Reply to  bardog

did you get the solution of ur problem?