The Online Shopping System is a web-based e-commerce platform developed using PHP and MySQL. It enables customers to browse products, add them to a shopping cart, and place orders. The system includes an admin panel for managing products, customers, and orders, as well as customer authentication, AJAX-based interactions, and secure form validations.
- User Authentication – Customers can register, log in, and log out securely.
- Product Browsing – Customers can view available products with descriptions and prices.
- Shopping Cart – Items can be added, removed, and updated in the cart dynamically.
- Checkout Process – Customers can place orders with order summaries and confirmation.
- Profile Management – Customers can update their personal details and view past orders.
- Admin Dashboard – Overview of orders, sales, and user activities.
- Product Management – Add, edit, delete, and manage product listings.
- Order Management – View and process customer orders.
- Customer Management – View registered customers and their order history.
- CRUD Operations – Fully functional Create, Read, Update, and Delete operations.
- AJAX Integration – Enhances UI interactions without page reloads.
- Secure Login System – Uses password hashing and session management.
- Form Validations – Ensures correct and complete data input.
Download the project from GitHub:
git clone https://github.com/DarshanScripts/online-shopping-system.git- Open phpMyAdmin (or any MySQL database manager).
- Create a new database (e.g.,
OnlineShopping). - Copy the provided SQL file, paste it into the SQL panel & run it successfully.
- Open
DBConnection.phpand update the database credentials.
- Move the project folder to
htdocs(for XAMPP) orwww(for WAMP/LAMP). - Start Apache and MySQL services using XAMPP/WAMP/LAMP.
- Open a browser and go to:
http://localhost/online-shopping-system/
online-shopping-system/
│── Index.php # Homepage
│── Login.php # User Login
│── Logout.php # Logout Functionality
│── Registration.php # User Registration
│── DBConnection.php # Database Configuration
│── TableStructure.sql # SQL Database Dump
│
├── Admin/
│ ├── AdminReg.php # Admin Registration
│ ├── AdminLogin.php # Admin Login
│ ├── AdminLogout.php # Admin Logout
│ ├── Dashboard.php # Admin Dashboard
│ ├── InsertShoe.php # Add New Shoes
│ ├── EditShoe.php # Edit Existing Shoes
│ ├── FetchCustomer.php # View & Process Customer Details
│
├── Customer/
│ ├── Homepage.php # Customer Dashboard
│ ├── CustReg.php # Customer Registration
│ ├── CustLogin.php # Customer Login
│ ├── CustLogout.php # Customer Logout
│ ├── Purchase.php # Buy Shoes
│ ├── FetchShoes.php # View & Process Shoes Details
│ ├── UpdateProfile.php # Profile Management
│ ├── UpdateProSaved.php # Saves Profile Changes
- PHP – Handles backend logic and interactions.
- MySQL – Stores product, customer, and order data.
- AJAX – Enables real-time interactions.
- HTML, CSS, JavaScript – Creates a dynamic frontend.
- Bootstrap – Enhances UI design.
Developed by Darshan Shah. Connect with me:
- LinkedIn: Darshan Shah
- Facebook: DarshanScripts
- GitHub: DarshanScripts
- Quora: Darshan Shah
- Medium: DarshanScripts
- Fiverr: DarshanScripts