E-Commerce System Using PHP/MySQLi with Source Code

Language

E-Commerce System is an Online-Based System that allows buyers to easily search for products using their smartphones or laptop with an internet connection. This is a user-friendly system and it has a responsive design that fits in your gadget. It contains products such as Clothing (Men, Women, and Kids), Shoes, Bags, Interiors, and many more. You have many products to choose from and it’s very convenient for you to order a certain product that you like. The mode of Payment is Cash on Delivery and the fee depends on the location that you set-up on the admin side.

Features

Admin Side

  • Manage Products
  • Manage Orders
  • Manage Categories
  • Manage Discount
  • Manage Delivery Fee
  • Manage Users
  • Generates Report

Customer Side

  • Home
  • Shop
  • Products
  • Contacts
  • Cart
  • Searching for Products
  • Billing Details
  • Submit Orders
  • Customer Profile
    • Update Accounts
    • WishList
    • List of Orders

How to Run

Requirements

  • Download and Install any local web server such as XAMPP and WAMP.
  • Download and Extract the source code zip code.

Installation

  • Open your XAMPP/WAMP's Control Panel and start "Apache" and "MySQL".
  • Extract the source code zip file
  • If you are using XAMPP, copy and paste the source code folder into XAMPP's "htdocs" directory. And if you are using WAMP, paste it into the "www" directory of WAMP.
  • Open a web browser and browse the PHPMyAdmin. (http://localhost/phpmyadmin)
  • Create a new database naming "db_ecommerce".
  • Import the SQL file to your newly created database. The SQL file is located inside the extracted source code folder and known as "db_ecommerce.sql".
  • Open a web browser and browse the web application. (http://localhost/ecommerce) for the website and for the admin side (http://localhost/ecommerce/admin)

Admin Access

Username: janobe
Password: admin

Sample Customer Access

Username: janobe
Password: janobe1234

Demo

View Demo

For more information about the system. You can contact me @
Email – [email protected]
Mobile No. – 09305235027 – TNT
Or feel free to comment below.

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:

1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

Comments

Hello I am john I have uploaded your code, and it works well offline but when I upload it the admin section is not visible it think it has a problem with web_root, please help

In reply to by johnthar (not verified)

it is not working for me: Warning: require_once(include/initialize.php): Failed to open stream: No such file or directory in D:\xammp\htdocs\ecom\index.php on line 2 Fatal error: Uncaught Error: Failed opening required 'include/initialize.php' (include_path='D:\xammp\php\PEAR') in D:\xammp\htdocs\ecom\index.php:2 Stack trace: #0 {main} thrown in D:\xammp\htdocs\ecom\index.php on line 2

Hey, I am unable to correct the error related to web_root and Server_root while hosting it on 000webhost

the username and password for customer is not working We are getting below error. [Tue Jul 14 10:58:48 2020] PHP Notice: Undefined variable: res in /home/ubuntu/ECommerce/LogSignModal.php on line 94 [Tue Jul 14 10:58:48 2020] PHP Notice: Trying to get property '_AUTO' of non-object in /home/ubuntu/ECommerce/LogSignModal.php on line 94 [Tue Jul 14 10:58:48 2020] 45.251.49.70:31687 [200]: /ECommerce/index.php

thank

Hey, I am unable to correct the error related to web_root and Server_root while hosting it on 000webhost

I got these error Warning: require_once(C:/xampp/htdocs\ECommerce\include\config.php): failed to open stream: No such file or directory in C:\xampp\htdocs\learnPHP\New dbms project\include\initialize.php on line 14 Fatal error: require_once(): Failed opening required 'C:/xampp/htdocs\ECommerce\include\config.php' (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\learnPHP\New dbms project\include\initialize.php on line 14

Erro fatal : __autoload () não é mais compatível, use spl_autoload_register () em vez de C: \ Users \ Edmil \ OneDrive \ Documentos \ Unnamed Site 2 \ htdocs \ ecommerce \ include \ function.php na linha 37

Can I modify the source code and host my website?

I tryed to login into the admin-tool and then i become thos error Fatal error: __autoload() is no longer supported, use spl_autoload_register() instead in D:\XAMPP\htdocs\ecommerce\include\function.php on line 37

thank you bro for the free code, but i have a problem, i cant even see the website beacaus of 1 error, this is what i see: Fatal error: require_once(): Failed opening required 'C:/xampp/htdocs\ECommerce\include\config.php' (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\yt ecommerce\include\initialize.php on line 14 help me please

Warning: require_once(C:/xampp/htdocs\ECommerce\include\config.php): failed to open stream: No such file or directory in C:\xampp\htdocs\ecommercemarco\include\initialize.php on line 14 Fatal error: require_once(): Failed opening required 'C:/xampp/htdocs\ECommerce\include\config.php' (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\ecommercemarco\include\initialize.php on line 14

hi can't view it on 000webhost I get this HTTP ERROR 500

Email sent

Fatal error: __autoload() is no longer supported, use spl_autoload_register() instead in C:\xampp\htdocs\ecommerce\include\function.php on line 37

nice

Fatal error: __autoload() is no longer supported, use spl_autoload_register() instead in D:\XAMPP\htdocs\ecommerce\include\function.php on line 37 Help to solve our this problem

In reply to by KEVAL VALA (not verified)

please send for me correct code

Please can I get the full source code am working on the same project mine final school project [email protected] Thank you for tutorial and everything

Fata error: __autoload() is no longer supported, use spl_auto_register() instead in C:\xampp\htdocs\ecommerce\include\function.php on line 37. I was abled to solve the above problem by replacing it as above, but I get the following problem again. Fata error: Cannot redeclare spl_autoload_register() in C:\xampp\htdocs\ecommerce\include\function.phpfata error on line 37.

In reply to by Themecks (not verified)

error: __autoload() is no longer supported, use spl_auto_register() instead in C:\xampp\htdocs\ecommerce\include\function.php on line 37. I was abled to solve the above problem by replacing it as above, but I get the following problem again. Fata error: Cannot redeclare spl_autoload_register() in C:\xampp\htdocs\ecommerce\include\function.phpfata error on line 37.

Parse error: syntax error, unexpected end of file, expecting "elseif" or "else" or "endif" in C:\xampp\htdocs\ecommerce\include\function.php on line 83. Please help

hii, i try to open the localhost/ecommerce, but the error below occur, can you help me Fatal error: Uncaught Error: Call to undefined function get_magic_quotes_gpc() in C:\xampp\htdocs\ecommerce\include\database.php:14 Stack trace: #0 C:\xampp\htdocs\ecommerce\include\database.php(130): Database->__construct() #1 C:\xampp\htdocs\ecommerce\include\accounts.php(2): require_once('C:\\xampp\\htdocs...') #2 C:\xampp\htdocs\ecommerce\include\initialize.php(17): require_once('C:\\xampp\\htdocs...') #3 C:\xampp\htdocs\ecommerce\index.php(2): require_once('C:\\xampp\\htdocs...') #4 {main} thrown in C:\xampp\htdocs\ecommerce\include\database.php on line 14

i am trying to open it but this is what im getting Fatal error: Uncaught Error: Call to undefined function get_magic_quotes_gpc() in C:\xampp\htdocs\ecommerce\include\database.php:14 Stack trace: #0 C:\xampp\htdocs\ecommerce\include\database.php(130): Database->__construct() #1 C:\xampp\htdocs\ecommerce\include\accounts.php(2): require_once('C:\\xampp\\htdocs...') #2 C:\xampp\htdocs\ecommerce\include\initialize.php(17): require_once('C:\\xampp\\htdocs...') #3 C:\xampp\htdocs\ecommerce\admin\index.php(2): require_once('C:\\xampp\\htdocs...') #4 {main} thrown in C:\xampp\htdocs\ecommerce\include\database.php on line 14

Fatal error: __autoload() is no longer supported, use spl_autoload_register() instead

Warning: require_once(C:/xampp/htdocs\ECommerce\include\config.php): failed to open stream: No such file or directory in C:\xampp\htdocs\ecomnice\include\initialize.php on line 14 Fatal error: require_once(): Failed opening required 'C:/xampp/htdocs\ECommerce\include\config.php' (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\ecomnice\include\initialize.php on line 14

Add new comment