About this project
A consumer electronics store (ElectroMart) built with plain PHP 8.2 and SQLite - no framework, no Composer packages and no build step. Shoppers browse by category and brand, filter by price, stock and category-specific specs, search by name, brand, model or SKU, and compare products side by side; product pages show variants, full spec tables, warranty terms, stock and customer reviews. The cart and checkout handle coupons, shipping classes and tax through a hosted payment flow that never stores card details, and customer accounts cover orders, invoices, a wishlist, return requests, warranty claims and business quotes. The role-based admin manages the catalogue and spec templates, CSV import, inventory with serial numbers, orders and fulfilment, returns, warranty, quotes, promotions, customers, buying guides and sales reports. It ships with CSRF protection, prepared statements, rate limiting, a strict Content Security Policy, consent-based analytics and an automated test suite.
Key features
- Category, brand, price and spec-based filters with SKU search
- Side-by-side product comparison
- Product pages with variants, spec tables, warranty and reviews
- Checkout with coupons, shipping classes, tax and hosted payment
- Customer accounts: orders, invoices, wishlist, returns, warranty claims and quotes
- Role-based admin: catalogue, CSV import, serial-tracked inventory, fulfilment and reports
- Strict CSP, CSRF, rate limiting and consent-based analytics