TrendOrbit is a dynamic fashion e-commerce website built using PHP, MySQL, HTML, CSS, and JavaScript. The platform enables users to browse, search, and purchase fashion items, while providing a functional admin panel for product management.
- Homepage (
index.php) β Displays featured fashion products - Product Display (
subcategory.php,search.php) β Category-based browsing & search - Shopping Cart (
add_to_cart.php,checkout.php) β Add to cart, checkout functionality - User Authentication β Register and Login (
registerN.php,loginN.php) - Responsive UI β Mobile-friendly layout using HTML/CSS and JS enhancements
- Assets Folder β Contains images, stylesheets, and JS scripts
- Product Images β Stored in
productImg/directory
- Database β Connected via
db_connect.php - Admin Panel (
adminpannel/) β Add, edit, delete, and manage products - Reusable Components β Header (
header.php), Footer (footer.php)
- Frontend: HTML5, CSS3, JavaScript
- Backend: PHP (Procedural)
- Database: MySQL
- Admin Tools: PHP-based Admin Panel with image uploads
- Security: Password hashing (if implemented), form validation
project-root/ βββ adminpannel/ # Admin dashboard for managing products βββ assets/ # CSS, JS, fonts, etc. βββ productImg/ # Uploaded product images βββ index.php # Main landing page βββ add_to_cart.php # Cart functionality βββ checkout.php # Checkout page βββ db_connect.php # Database configuration βββ loginN.php # User login βββ registerN.php # User registration βββ subcategory.php # Filter products by category βββ search.php # Search feature βββ header.php/footer.php # UI components
- Clone or download the repository.
- Import the SQL database (provided separately) into your local MySQL.
- Update your database credentials in
db_connect.php. - Run the website using XAMPP or any local PHP server.
- Install XAMPP/WAMP
- Put the folder in
htdocs - Import MySQL database (SQL file)
- Update your DB info in
db_connect.php - Open
localhost/project-folder/in browser
π‘ This project is great for learning how PHP and MySQL power an e-commerce platform.
http://localhost/phpmyadmin/index.php?route=/sql&pos=0&db=trendorbit_db&table=users
http://localhost/TrendOrbit_ProjectWeb/index.php
http://localhost/TrendOrbit_ProjectWeb/subcategory.php?subcat=4
http://localhost/TrendOrbit_ProjectWeb/thank_you.php
http://localhost/TrendOrbit_ProjectWeb/adminpannel/adminDashboard.php