Amaanullah Khan - AK Portfolio Logo
Loading Experience
Amaanullah Khan - PHP & Laravel Developer | Karachi, Pakistan

Amaanullah Khan

PHP,Laravel & flutter Developer

Karachi, Pakistan

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 CV
theperfectvape.com

The Perfect Vape – Custom E-Commerce Platform with Full Admin Theme Builder

Client The Perfect Vape – Premium Vaping Store
Category E-Commerce / Custom SaaS Platform
Duration 1–2 months
Status Completed

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.

Section-Level Customization: Admin can create, reorder, show/hide, and configure any homepage or page section — Hero Sliders (with video support), Product Grids, Featured Collections, FAQ sections, Testimonials, Brand Showcases, Promo Banners, and more — all from a visual admin panel.
Mega Menu Builder: Complete mega menu system with multi-column layouts, brand filtering, puff count filtering, nicotine level categorization, and promotional banner embeds — fully manageable from admin.
Custom Page Builder: Admin can create unlimited static pages with a section builder supporting Rich Text, Hero Sliders, Product Embeds, Icon Cards, Testimonials, FAQ sections, and Brand Swiper components.
Product Embed Anywhere: Any product card can be embedded inside any description, page content, or blog post via a custom embed system — making cross-selling seamless and automated.

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.

Ready to achieve similar results?

Let's discuss how we can build a similar high-performance solution for your business.

View Live Store

Strategic Execution & Challenges

Building a Full Admin Theme Builder from Scratch

The Challenge

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.

Strategic Solution

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.

Impact / Result

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

The Challenge

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.

Strategic Solution

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.

Impact / Result

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 Challenge

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.

Strategic Solution

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.

Impact / Result

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

The Challenge

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.

Strategic Solution

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.

Impact / Result

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 Challenge

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.

Strategic Solution

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.

Impact / Result

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

PHP 8 MySQL JavaScript (Vanilla) HTML5 CSS3 AJAX Custom MVC Architecture Laravel-inspired Routing Custom Theme Engine Session Management REST-style Internal API

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.

Impact & Performance

100% Admin Control — Zero Code Required for Storefront Changes Efficiency & Performance improvement
$0/month Platform Fees vs $79–$299/month Shopify Equivalent Growth Potential & Scalability Boost

Project Technical FAQ

Can you build a custom e-commerce website without Shopify or WooCommerce?

Yes — The Perfect Vape is a fully custom e-commerce platform built from scratch using PHP and MySQL with zero reliance on Shopify, WooCommerce, or any third-party platform. It includes a complete theme builder, order management, inventory system, coupon engine, and SEO controls.

What is a custom admin theme builder?

A custom admin theme builder allows a store owner to visually customize every section of their website — hero sliders, product grids, banners, menus, and pages — directly from the admin panel without touching any code. This platform's theme builder was built entirely from scratch in PHP.

How long does it take to build a custom e-commerce platform?

The Perfect Vape platform was built in 3–4 months and includes a full admin theme builder, product and variant management, order lifecycle management, coupon system, wishlist, refund system, customer reviews, and SEO controls at every level.

What are the advantages of custom e-commerce over Shopify?

Custom e-commerce eliminates monthly platform fees ($79–$299/month on Shopify), gives complete data ownership, allows unlimited customization of features and design, removes transaction fees, and can be optimized for exactly your business workflow rather than a generic template.
Select Solution Type
Custom CRM / HRM
Lead Management System
Workflow Automation
SaaS Development
Other Business Solution

Amaanullah Portfolio

Install for a premium experience