How greydelta/shoe-ecommerce-website works
Urban Shoes is a PHP/MySQL shoe storefront for guests, members, and admins. The primary shopping flow is product discovery in the catalog, opening a product detail, adding items to a cart, and reviewing the cart; the README also describes size selection, discounts, and delivery fees. Separate branches cover login/signup, admin product CRUD, and informational pages. The graph uses excerpted calls and links plus SOURCE INDEX references and README capabilities; unsampled modules are represented only where the tree or README identifies them, so some relationships remain unverified.
Main entry points: db_config.php DB Configuration · session.php Session Context · cart.php Shopping Cart · maindashboard.php Catalog
Components 24
Shopping
- Catalog
maindashboard.php - Category Listings
men.php - Product Detail
product.php - Shopping Cart
cart.php - Remove Cart Item
removeProductFromCart.php
Accounts
- Sign In
login.php - Login Handler
loginScript.php - Sign Up
signup.php - Signup Handler
signUpScript.php - Session Context
session.php
Product Admin
- Admin Dashboard
maindashboard.php - Manage Products
manageProducts.php - Add Product Form
addProducts.php - Add Product Handler
addProductsScript.php - Update Product Form
updateProducts.php - Update Product Handler
updateProductsScript.php - Delete Product Handler
deleteProductsScript.php
Information
- Help and About
faq.php - Contact Page
contactus.php - Footwear Blog
blog.php
Runtime and Data
- DB Configuration
db_config.php - Urban Shoes DB
database/urbanshoes.sql - Shared Helpers
debug.php
Other components
- Shopper
Connections 28
- Shopper → Catalog: browses
README.md - Catalog → Product Detail: opens item
maindashboard.php - Shopper → Category Listings: browses category
README.md - Product Detail → Shopping Cart: adds item
README.md - Shopper → Shopping Cart: reviews cart
README.md - Shopping Cart → Remove Cart Item: links removal
cart.php - Shopper → Sign In: signs in
README.md - Sign In → Login Handler: submits
login.php - Shopper → Sign Up: registers
README.md - Sign Up → Signup Handler: submits
signup.php - Login Handler → DB Configuration: connects
loginScript.php - Signup Handler → DB Configuration: connects
signUpScript.php - Catalog → Session Context: loads context
maindashboard.php - Product Detail → Session Context: loads context
product.php - Shopping Cart → Session Context: loads context
cart.php - Session Context → DB Configuration: connects
session.php - Session Context → Shared Helpers: logs status
session.php - Shopper → Manage Products: admin access
README.md - Manage Products → Add Product Form: links management
- Add Product Form → Add Product Handler: submits
addProducts.php - Update Product Form → Update Product Handler: submits
updateProducts.php - Add Product Handler → DB Configuration: connects
addProductsScript.php - Update Product Handler → DB Configuration: connects
updateProductsScript.php - Delete Product Handler → DB Configuration: connects
deleteProductsScript.php - Shopper → Help and About: reads help
README.md - Shopper → Contact Page: contacts shop
README.md - Shopper → Footwear Blog: reads articles
README.md - DB Configuration → Urban Shoes DB: configures access