Complete E-commerce website source code in PHP and MySQL database

The Complete Ecommerce website script in PHP and MYSQL database. This script can be used to learn how to create an Ecommerce website online. The link to the zipped script is provided if you want to download the script.

Complete E-commerce website source code in PHP and MySQL database
Complete E-commerce website source code in PHP and MySQL database

Complete E-commerce website source code in PHP and MySQL database

Table of content

  1. About the E-commerce website in PHP
  2. Features of the E-commerce in PHP and MySQL database
  3. Script details
  4. Server Requirements
  5. How to downloaded and run the source code
  6. Video Demonstration
  7. The screenshots

About the E-commerce website in PHP

 The Ecommerce website script is a PHP script which can be used to create an ecommerce website online where users can come and purchase products. When a user wants to purchase a product, they first add them to cart and then from there they can make purchases.

This Ecommerce website script is written in PHP and uses MySQL database.  

Admin can add products, delete and edit a product. Admin can also manage all customers and products they bought.

This Ecommerce website makes management easy. With this system, people can buy products online without visiting the physical store.

Features of the E-commerce in PHP and MySQL database

  • Admin dashboard
  • Admin search system
  • Manage customers
  • View products bought by customers
  •  Add products
  • Add brands
  • Add product category
  • Delete brands
  • Delete products
  • Edit products
  • View customers
  • Edit brands
  • Delete categories
  • Logout system
  • Login system
  • Search system
  • Mobile responsive design

Front end

  • Visitors can search products to buy
  • Login system
  • Search system
  • Mobile responsive design
  • Product category list
  • Different product brands
  • Carts
  • Products page
  • Select product quantity
  • Delete and update product on cart
  • View product images
  • Registration system
  • PayPal payments
  • Other features 

Script Details

App name Ecommerce Site in PHP and MYSQL database
Written in PHP, HTML, JavaScript
Database MYSQL
Design Bootstrap, CSS
Includes README file
Type web application
Download type Zip file
Download size MB

 Server Requirements

 Almost all servers already have them installed.

  • PHP 6 +
  • MYSQL Database

How to downloaded and run the source code (installation)

 We will be using XAMPP to run this project.

For XAMPP

  1. Click on the download button provided below to go to the download page.
  2. Click on download to start downloading.
  3. Go to your download folder or directory in your Pc and extract the source code folder.
  4. Copy the folder you extracted and paste it in (for XAMPP xampp/htdocs, for WAMPP wampp/www, for LAMPP var/www/html) root directory in your pc.
  5. Open your XAMPP Control panel and start Apache and MYSQL.

Creating a database

  1. Open your browser
  2. Go to this path “http://localhost/phpmyadmin/
  3. Click on New on the left side of the screen.
  4. Create a database named “ecommerce_site” (or with any other name you want) and click on create. Read NOTE below first.
  5. Click on the import tab.
  6. Click on browse file and select “ecommerce_site.db” from the database folder you extracted.
  7. Click on Go.

NOTE: IF YOU USE ANOTHER DATABASE NAME APART FROM ecommerce_site, MAKE SURE YOU ALSO CHANGE IT IN db.php FILE

After creating a database

  1. Open a new tab on your browser and go to the path. “http://localhost/ ecommerce-website/”
  2. The login page will be displayed.
  3. Login using the details below, you can also change it in the admin panel.

Login info

URL: http://localhost/ecommerce-website/admin

Username: admin@mail.com

Password: password

Video Demonstration

Watch video for easy installation

 

Screenshots

Ecommerce Site in PHP and MYSQL database