Overview
ADR Communications is a Hemet, California based dealer in analog and digital two-way radio equipment — handhelds, mobiles, base stations, repeaters, antennas, and accessories. The site is a fully custom e-commerce platform built from scratch without a framework, designed to be maintainable and expandable as the business grows.
Store & Catalog
The storefront features a categorized product catalog with 8 categories and 24+ SKUs. A featured item carousel on the home page highlights selected products. Each item supports images, pricing, stock levels, active/inactive status, and a featured flag. The admin can filter and search inventory by category, status, or featured flag, and export the full catalog as JSON.
Admin Console
The backend is a purpose-built admin suite with five sections:
- Dashboard — at-a-glance stats (total items, active items, featured, out-of-stock), a category breakdown bar chart, featured items list, and a low/out-of-stock alert table.

- Site Config — live-editable site name, page title, descriptions, contact info, contact form settings, payment toggles (online payments on/off, sandbox/test mode, auto-manage stock).

- Store Items — full CRUD (Create, Read, Update, Delete) interface with search, category and status filters, inline stock indicators, edit/duplicate/delete actions, and JSON export.

- Maintenance — orphaned image and product file cleanup, stale temp file removal, one-click site backup (downloadable ZIP), contact form message log with SENT/BLOCKED status tracking, and IP logs.

Payment Gateway Roadmap
Four payment processors are planned for integration, implemented in order of setup simplicity:
- PayPal — JS Smart Buttons with minimal server-side handling; sandbox environment available immediately
- Stripe — PHP SDK with hosted payment elements; clean API and excellent documentation
- Square — solid integration with slightly more setup overhead
- Authorize.net — full-featured but older API design; included for clients who require it
The Site Config panel already includes payment on/off and testing mode toggles in preparation for these integrations.
Architecture
The platform is built on PHP 8.3 with flat JSON files for the data layer — the same proven approach used in other projects, keeping hosting requirements minimal and setup friction low. The architecture is intentionally designed so that a MySQL backend can be swapped in for high-traffic deployments without restructuring the application logic.
Nerd Cave