A PHP-based e-commerce platform designed for selling clothes. This project provides a fully functional online store where users can browse products, add them to a shopping cart, place orders, and receive support via a question-based chatbot. The system includes features like user authentication, order management, product history, product comments, and a fully functional admin panel to manage products, orders, and users.
- This project is using Procedural PHP . I don't use any Frameworks like Laravel or Symfony in here.
- User Registration/Login, Password Reset using Email Verification
- Product Catalog with Category Filter
- Product History (Tracks and displays user interaction with products)
- Product Comments (Users can leave reviews and feedback on products)
- Shopping Cart (Add, Remove, Edit items)
- Order Management (Order History for Users)
- Send feedback to Admin with Email
- Admin Dashboard (Manage Products, Users, Orders and User Comment)
- Product Statistics ( Statistics by Category and Revenues )
- Payment Integration (Stripe payment)
- Predefined Question-based Chatbot for Customer Support
- Backend: PHP 8.1.10
- Frontend: HTML, CSS, JavaScript
- Database: MySQL
- Additional Libraries: jQuery (for UI interactions), fontawsome ( for using icon), parsedown ( for parsing html code)
- Version Control: Git
- Hosting Enviroment: Laragon ( for local development)
-
Access the Website: Open your browser and go to
http://localhost:8000
or your server's URL. -
Register an Account: Users can register an account and log in to comment and purchase products.
-
Browse Products: Explore the product catalog, apply filters, and view individual product details.
-
Shopping Cart: Add items to your cart and proceed to checkout.
-
Admin Panel: Access the admin dashboard by logging in as an admin. From here, you can manage products, view orders, and update the user list.
/admin # for admin
/css # for CSS styles
/images # for slide images
/model # Database interaction using PDO
/uploads # for storing product images
/vendor # Composer dependencies
/view # UI templates ( also UI logic)
/index (Controller) # handles the logic between Model and View
- Models: Handle data interactions with the database.
- Views: HTML templates for the user interface.
- Controllers: Handle requests and responses.
For more details, refer to the database documentation.
Welcome to contributions! Here's how you can help:
- Fork the repository.
- Create a new branch (
git checkout -b feature/new-feature
). - Commit your changes (
git commit -m 'Add new feature'
). - Push to the branch (
git push origin feature/new-feature
). - Create a Pull Request.