online shopping system
PHP Projects

Online Shopping System In PHP With Source Code

Project: Online Shopping System in PHP with source code

– To download the Online Shopping System project with source code(Scroll down)

Online Shopping System is developed using PHP, CSS, and JavaScript. The project is a useful project. This project contains the admin side and user side where a user can view shopping items details, sign up, and buy products online. While the admin can add items and users, products, manage them, and soon.

About System

Talking about the features of this system, the admin can manage the users, products, and check subscribers. While the user can shop for all the available shopping items by signing in. And, in order to buy products online, he/she has to sign up/in through the system.

The user can shop for multiple items and pay online through cards. This simple project is similar to the online shop portal. The design of this project is very simple so that the user won’t find any difficulties while working on it.

How To Run??

To run this project you must have installed a virtual server i.e XAMPP on your PC. The Online Shopping System in PHP with source code is free to download, Use for educational purposes only!

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 the databases tab
6th Step: Create a database naming “ecommerce” and then click on the import tab
7th Step: Click on browse file and select “onlineshop.sql” file which is inside the “database” folder
8th Step: Click on go.

After Creating Database,

9th Step: Open a browser and go to URL “http://localhost/online-shopping-system/”

For the admin panel, go to URL “http://localhost/online-shopping-system/admin/”

For the project demo, you can have a look at the video below:

project demo

DOWNLOAD ONLINE SHOPPING SYSTEM IN PHP WITH SOURCE CODE: CLICK THE BUTTON BELOW



Got stuck or need help customizing this System as per your need, go to our PHP tutorial or just comment down below and we will do our best to answer your question ASAP.

This Post Has 30 Comments

  1. Mujtaba Reply

    Though this is amazing website with the latest trends and working fine
    actually I need to know about the password and email security I mean encryption decryption. secondly why admin panel is open for everyone? there must be an admin login and password form before accessing admin panel. also, price range slider is not working checkin process should provide options to users not every one has bank accounts please do notice my queries it would be great for everyone
    , by the way, thanks for each and every project guys you are doing wonderful job for those who cannot afford expensive courses 🙂 (y)

  2. Guest69 Reply

    Looking forward for this system, hope you can make it better.

    Everyone can access admin, no admin account. Please fix
    Cart* not really working. Please fix
    Search* not really working. Please fix
    and more..

  3. thucdaik Reply

    Thank very much

  4. Angel TheKind Reply

    were do i can buy the hole project?

  5. Divyanka Reply

    how to edit categories into this?

    • wangning Reply

      the categories of this system connect with database,you just need change the cat_id values,BTW,you still need fix more problem about nav,good luck

  6. Nikita Reply

    I have an error that on screen “INR”
    Please tell me what to do

    • Alif Reply

      open. online-shopping-system–>db.php

      delete all.

      and copy paste

      <?php

      $servername = “localhost”;
      $username = “root”;
      $password = “”;
      $db = “ecommerece”;

      // Create connection
      $con = mysqli_connect($servername, $username, $password,$db);

      // Check connection
      if (!$con) {
        die(“Connection failed: ” . mysqli_connect_error());
      }

      ?>

      • lk Reply

        Had the same issue and copy-pasted as you advised, getting new error:

        INR
        Parse error: syntax error, unexpected ‘failed’ (T_STRING), expecting ‘)’ in C:\xampp\XAMPP 2\htdocs\Online1\db.php on line 13

    • Priyanka Reply

      In Admin panel in mange product the product is not deleting can p/z tell me what to do?

    • Lk Reply

      Hi, were you able to solve this, kindly assist, having the same error

  7. Suresh Gavali Reply

    Can i get ER diagram of this project So I can Learn more.
    This is very nice project for learning purpose

  8. amir sohail Reply

    <a href=”https://worldtoplist.net/famous-athletes-quotes/”>famous athletes quotes
    </a>

  9. Mujahid Reply

    Many many thanks. Code is working fine. great.

  10. Unknow Reply

    Im sorry that I have change some stuff of your project, I just want to test a few thing. Im done now, thank you so much for sharing this.

  11. lk Reply

    Hi, were you able to solve this, kindly assist, having the same error …

  12. Ahmeed Reply

    When I click delete it goes to the “Page not found”, may I know how to fix this?

  13. sajib Reply

    Sir, the Order page is not working for me, I have tried for multiple order, and its showing in MySQL but not showing on the webpage
    How can I resolve them? Please give a solution

  14. Pratik soni Reply

    Why not show admin panel in order to any product
    What is problem pls solve and me notice

  15. Ananya B S Reply

    Sir how to the slick theme of the web page

  16. Zan Starasinic Reply

    Search bar still not working, I mean it’s loaded for a second but goes back to all products.

Leave a Reply

Your email address will not be published. Required fields are marked *