Amaanullah Khan
PHP,Laravel & flutter Developer
Expert custom software developer and systems architect specializing in high-performance SaaS and CRM solutions. I transform operational friction into scalable growth engines with a focus on measurable ROI.
Download CVThe Perfect Vape – Custom E-Commerce Platform with Full Admin Theme Builder
Project Overview
Building a Complete E-Commerce Ecosystem from Scratch
The Perfect Vape required a fully custom e-commerce platform that no off-the-shelf solution like Shopify or WooCommerce could fulfill. The client needed complete control over every pixel of the storefront, a fully bespoke admin experience, and a system powerful enough to handle complex product catalogues with dozens of variants, multiple brands, and nicotine-level filtering — all while maintaining enterprise-grade performance.
The Core Technical Achievement — Custom Theme Builder
The defining feature of this platform is its fully custom Admin Theme Builder — a system I engineered from scratch that gives the store owner complete visual and structural control over every section of the website without touching a single line of code. This is not a drag-and-drop plugin — it is a purpose-built content management architecture with section-level control, dynamic rendering, and real-time preview, comparable in scope to Shopify's section-based themes but built entirely on custom PHP and MySQL.
Complete Commerce Functionality
Beyond the theme builder, the platform delivers a full-featured commerce management system including: complete order lifecycle management with status tracking, guest checkout and registered user flows, wishlist management, cart persistence, refund request system, multi-type coupon engine, real-time inventory alerts with low-stock notifications, customer review system, and an integrated messaging system between customers and admin.
Strategic Execution & Challenges
Building a Full Admin Theme Builder from Scratch
The client needed complete visual control over every section of the storefront — hero banners, product grids, mega menus, promotional banners, and custom pages — without any developer involvement for day-to-day changes. No existing CMS or page builder met the specific requirements of a custom product-based storefront.
I engineered a fully custom Theme Builder engine in PHP that separates content schema from rendering logic. Each section type (Hero Slider, Product Grid, FAQ, Testimonials, Brands Swiper, etc.) has its own admin form and front-end renderer. Admin can create, reorder, show/hide, and configure every section on any page from a single visual dashboard. Video banners, image banners, and mega menus are all controlled through the same system.
The store owner can now modify the entire homepage layout, create new landing pages, update promotional banners, and restructure the mega menu in minutes — with zero developer involvement. This eliminated ongoing development costs for routine storefront changes and gave the client full ownership of their digital experience.
Managing Complex Product Variants Across Multiple Brands
A vape store carries products with multiple dimensions of variation — flavor, nicotine strength, puff count, device type, and brand — all requiring separate SKU tracking, individual stock levels, and distinct pricing. Standard product management systems collapse under this complexity, requiring a custom data architecture.
I designed a multi-dimensional variant system where each product can carry unlimited variant combinations with individual SKUs, stock levels, and prices. The inventory management dashboard shows variant-level stock with low-stock alerts. Collections and filtering are driven by a dynamic tagging system that allows the same product to appear under Brand, Puff Count, Nicotine Level, and Category simultaneously.
The platform currently manages 7 product categories, multiple brands including Geek Bar, Lost Mary, RAZ, and Kangvape, with real-time inventory alerts preventing stockout situations. The inventory system tracked and surfaced 3 low-stock alerts on day one of operation.
Complete Order Lifecycle Management with Guest Support
The platform needed to support both registered users and guest checkout with complete order history, tracking, refund requests, and admin-side order management — all without a third-party commerce framework. Building this from scratch on a custom PHP backend required careful state management and security.
I built a complete order management system covering the full lifecycle: cart persistence (cross-session), guest checkout with order reference tracking, registered user order history, admin order status management (Pending → Processing → Shipped → Delivered), refund request flow with admin approval, and a customer-facing order tracking page. All order data is normalized across 6 relational tables for query efficiency.
The system handled 13 real orders within the first week of soft launch including a $649.87 single order, with an 80% returning customer rate demonstrating strong user experience. Zero order data loss or checkout failures were recorded across the initial transaction set.
Building SEO-Ready Architecture for a Regulated Product Category
Vaping products occupy a legally complex SEO space — FDA compliance pages are mandatory, product descriptions must balance keyword optimization with regulatory language, and collection pages need unique content to avoid thin content penalties. Additionally, building granular SEO controls at every level required a metadata system not available in any existing CMS.
I implemented field-level SEO controls on every content type — products, collections, brands, pages, and blog posts all have individual meta title, meta description, and URL handle fields managed from admin. The platform generates dynamic JSON-LD Product schema for every product page, BreadcrumbList schema site-wide, and Organization schema on the homepage. An FDA Disclaimer page, Privacy Policy, Return Policy, Shipping Policy, and Terms and Conditions were all built as managed pages accessible from admin.
Every product page is structured for Google Shopping compatibility with schema markup. The site's SEO foundation is fully prepared for indexing — currently on intentional noindex during product upload phase, with full SEO activation planned post-catalogue completion. The Search Engine Visibility toggle in admin settings allows instant site-wide index/noindex switching.
Multi-Type Coupon System with Business Rule Flexibility
The client required a promotions system flexible enough to run percentage discounts, fixed-amount codes, free shipping offers, and minimum-order threshold coupons simultaneously — with usage limits, expiry dates, and per-customer restrictions. A rigid discount system would limit marketing flexibility for a brand competing in a promotions-heavy market.
I engineered a multi-type coupon engine supporting: percentage discount (e.g., 20% off), fixed amount discount (e.g., $10 off), free shipping coupon, and minimum cart value requirements. Each coupon has configurable usage limits (total uses and per-customer uses), expiry date, and active/inactive status. Coupon validation runs server-side with real-time cart recalculation via AJAX on apply.
The coupon system gives the marketing team complete flexibility to run targeted promotions without developer involvement. The Salt Bundle Offer (Buy 5 for £20) featured prominently in the mega menu is managed entirely through the promotions system, demonstrating its integration with the theme builder.
Technology Stack
A Platform Built to Compete with Shopify — Without the Monthly Fees
The Perfect Vape demonstrates that a purpose-built custom e-commerce platform can outperform off-the-shelf solutions when the scope is well-defined and the engineering is disciplined. By combining a fully custom theme builder, enterprise-grade order management, a multi-type coupon system, and granular SEO controls at every level — product, collection, and page — this platform gives the client complete ownership of their digital storefront with zero monthly platform fees. It is a testament to what custom PHP web development can achieve when business requirements drive architecture decisions rather than template limitations.