How aforant13/kavd works
KAVD! is a PHP storefront for browsing apparel, managing customer accounts and carts, and placing orders with cash-on-delivery or manually verified UPI/QR payment. The main workflow is product discovery (shop, search, detail), cart and checkout, order creation, then confirmation and account order history. PHP pages combine presentation and application behavior; shared backend modules provide database access, shipping rules, and payment configuration. The checkout-to-order request and database usage are evidenced in excerpts; other product pages and informational content are represented from the file tree, so their internal links are omitted where implementation evidence is unavailable.
Main entry points: db.php Commerce database · checkout.php Checkout · place_order.php Order placement · order-success.php Order confirmation
Components 20
Storefront
- Storefront home
index.html - Product catalog
shop.php - Product search
search.php - Product detail
product.php - Store help pages
support.html
Customer accounts
- Account and orders
account.php - Sign in
login.php - Registration
register.php - Sign out
logout.php
Cart and orders
- Shopping cart
cart.php - Checkout
checkout.php - Order placement
backend/place_order.php - Order confirmation
order-success.php - Browser cart state
cart.php
Backend services
- Commerce database
backend/db.php - Shipping rules
backend/order_config.php - UPI configuration
backend/payment_config.php - Demo catalog seeding
backend/seed_demo.php
Other components
- Customer
- Payment provider
Connections 30
- Customer → Storefront home: browses
- Customer → Product catalog: browses
- Customer → Product search: searches
search.php - Customer → Product detail: views
product.php - Customer → Shopping cart: manages
cart.php - Customer → Checkout: checks out
checkout.php - Customer → Sign in: signs in
- Customer → Registration: registers
- Product catalog → Commerce database: queries products
shop.php - Product search → Commerce database: queries products
search.php - Product detail → Commerce database: loads product
product.php - Checkout → Commerce database: loads data
checkout.php - Checkout → Shipping rules: uses rates
checkout.php - Checkout → UPI configuration: reads settings
checkout.php - Checkout → Order placement: posts order
checkout.php - Order placement → Commerce database: creates order
backend/place_order.php - Order placement → Shipping rules: calculates shipping
backend/place_order.php - Order placement → UPI configuration: reads settings
backend/place_order.php - Shopping cart → Shipping rules: uses rates
cart.php - Shopping cart → Browser cart state: stores cart
cart.php - Checkout → Browser cart state: reads cart
checkout.php - Order placement → Order confirmation: returns order result
- Order confirmation → Commerce database: loads order
order-success.php - Order confirmation → UPI configuration: uses UPI details
order-success.php - Order confirmation → Payment provider: presents payment option
- Account and orders → Commerce database: loads account data
account.php - Account and orders → Sign out: links sign out
account.php - Sign in → Commerce database: checks credentials
login.php - Registration → Commerce database: stores account
register.php - Demo catalog seeding → Commerce database: seeds products
backend/seed_demo.php