The Shopping Mart is a web-based system that allows users to browse, filter, and manage products dynamically. It supports product entry, file uploads, filtering by criteria, and database management to ensure an efficient shopping experience.
- Add new products using the Product Entry Form.
- Upload product images with specific format and size constraints.
- Display all products dynamically from the database.
- Filter products based on price range, category, and brand.
- Supports real-time AJAX-based filtering for a seamless experience.
- Display sorted products dynamically using DisplayProduct.php.
- Database structure is defined in DBSchema.txt.
- CustomerShopping.txt stores shopping data for transactions.
- Secure database connection handled via SQLConnection.php.
- Uses AJAX and jQuery for real-time updates.
- Implements prepared statements to prevent SQL injection.
- Efficient session management for logged-in users.
git clone https://github.com/DarshanScripts/shopping-mart.git
- Open phpMyAdmin (or any MySQL database manager).
- Create a new database (e.g.,
shopping_mart
). - Import the provided SQL structure from
DBSchema.txt
. - Open
SQLConnection.php
and update the database credentials.
- Move the project folder to
htdocs
(for XAMPP) orwww
(for WAMP/LAMP). - Start Apache and MySQL services.
- Open a browser and go to:
http://localhost/shopping-mart/
shopping-mart/
│── CommonFunctions.php # Reusable functions
│── CustomerShopping.txt # Stores shopping data
│── DBSchema.txt # Database schema
│── DisplayProduct.php # Displays product list dynamically
│── FilterProduct.php # Filters products based on criteria
│── Index.php # Main entry page
│── ProductEntryForm.php # Form to add products
│── SQLConnection.php # Database connection handler
│── jquery.js # JavaScript functions
│
├── UploadStuffs/ # Product images folder
- PHP & MySQL – Backend logic and database handling.
- AJAX & jQuery – Real-time filtering and dynamic updates.
- HTML, CSS, JavaScript – Frontend development.
- Bootstrap – Enhances UI and responsiveness.
- File Handling – Secure image uploads and management.
Developed by Darshan Shah. Connect with me:
- LinkedIn: Darshan Shah
- Facebook: DarshanScripts
- GitHub: DarshanScripts
- Quora: Darshan Shah
- Medium: DarshanScripts
- Fiverr: DarshanScripts