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.phpand 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