How akhil200331/online-shopping-website works
This is a PHP/MySQL online shop. Shoppers sign in, browse category product pages, save items to a wishlist/cart, and can begin checkout from a product page, which records the selected item and redirects to address entry. The README identifies the home page and sign-in gate; sampled product pages show catalog reads and cart writes. Checkout, payment, order history/status, and profile are represented from the file tree, but their internal wiring was not sampled.
Main entry points: mjeans.php Category listings · ONLINESHOPPING.php Shop home · header.php Category navigation · signin.php Sign in
Components 17
Accounts
- Sign in
signin.php - Registration
signuppagemain.php - Password recovery
forgotpassword.php - Sign out
signout.php - Profile
profile.php
Product browsing
- Shop home
ONLINESHOPPING.php - Category navigation
header.php - Category listings
mjeans.php - Menu interactions
main.js
Shopping and orders
- Wishlist
wishlist.php - Address entry
address.php - Payment
paymentpage.php - Order history
history.php - Order status
orderstatus.txt
Persistent state
- Selected item
buy.txt - MySQL database
Other components
- Shopper
Connections 20
- Shopper → Shop home: opens
- Shop home → Sign in: redirects unsigned
- Shopper → Sign in: signs in
- Shopper → Registration: registers
- Shopper → Password recovery: requests recovery
- Shopper → Sign out: signs out
- Shopper → Shop home: browses
- Shop home → Category navigation: renders navigation
- Category navigation → Category listings: opens category
- Category navigation → Menu interactions: uses menu handlers
- Category listings → MySQL database: reads products
- Category listings → MySQL database: writes saved items
- Shopper → Category listings: selects item
- Category listings → Selected item: writes selection
- Category listings → Address entry: redirects for purchase
- Shopper → Wishlist: views saved items
- Shopper → Address entry: provides address
- Shopper → Payment: continues checkout
- Shopper → Order history: views orders
- Shopper → Profile: views profile