E-Commerce System Using PHP/MySQLi with Source
Code
sourcecodester.com/php/13524/e-commerce-system-using-phpmysqli.html
Submitted by janobe on Monday, February 1, 2021 - 16:30.
Language
PHP
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,
1/8
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)
2/8
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
Support
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
Reply
3/8
the username and password for
the username and password for customer is not working
Reply
Issue with the Code
Hey, I am unable to correct the error related to web_root and Server_root while hosting it
on 000webhost
Reply
error when viewing
Yeah me too am getting the same chalenge
Reply
I love your coding
I love your coding
Reply
username and password
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
Reply
thank
thank
Reply
Hosting Error For the Project
Hey, I am unable to correct the error related to web_root and Server_root while hosting it
on 000webhost
Reply
Error in Initialize.php File
4/8
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
Reply
has this been solved already?
has this been solved already?
Reply
Erro fatal : __autoload ()…
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
Reply
I also had this error and it…
I also had this error and it was fixed. You should use xampp version 7.0 should not use
higher version.
Reply
Password not working
Hi Boss, username and password not working
Reply
Permission
Can I modify the source code and host my website?
Reply
how do i change web currency
how do i change web currency
Reply
I tryed to login into the…
5/8
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
Reply
help
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
Reply
Error
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
Reply
error when
hi can't view it on 000webhost I get this HTTP ERROR 500
Reply
Error
Email sent
Reply
e commerce
Fatal error: __autoload() is no longer supported, use spl_autoload_register() instead in
C:\xampp\htdocs\ecommerce\include\function.php on line 37
Reply
nice
nice
Reply
6/8
where can i change admin password and user name ? Thanks
Reply
Issue in open website
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
Reply
Source 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
Reply
Fatal error
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.
Reply
error: __autoload() is no…
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.
Reply
hii, i try to open the…
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):
7/8
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
Reply
i am trying to open it but…
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
Reply
Add new comment
About text formats
Add new comment
102129 views
8/8