WaafiTech (Own Product)
Shopelize — Enterprise E-Commerce Platform for F-Commerce & SME Businesses
Thousands of Bangladeshi entrepreneurs had built thriving businesses on Facebook, but their growth was being choked by inadequate technology. They'd paid developers for WordPress-based e-commerce sites that looked fine on day one but buckled the moment real business pressure arrived — no proper inventory, no accounting, no automation, no scalability. WaafiTech set out to solve this at the platform level. Shopelize is the result: an enterprise-grade, fully managed e-commerce system purpose-built for f-commerce sellers and SME business owners who demand real software — not themes. From warehouse management and profit-and-loss accounting to AI-powered abandoned cart recovery and role-based access control, every feature was designed around what a growing Bangladeshi business actually needs to run and scale. The platform is built on a modern, scalable stack — Next.js 16, React 19, PostgreSQL, Redis, and Cloudflare R2 — with a custom AI automation layer powered by n8n workflows and leading AI APIs. It handles everything from order placement to courier dispatch, from flash sale campaigns to granular marketing analytics, and from customer support ticketing to enterprise-level security.
Measurable outcomes
What they were facing
The f-commerce and SME segment in Bangladesh was caught in a painful technology trap. Business owners had seen real growth — strong Facebook communities, loyal customers, consistent orders — but they were running it all manually or through patchwork tools. When they tried to professionalize, they hired developers who handed them off-the-shelf WordPress themes wrapped in a custom logo. Those solutions failed predictably. Inventory was tracked in spreadsheets. Orders got lost or duplicated. There was no way to measure real profit because cost-of-goods, shipping fees, and returns weren't factored in. Marketing meant posting manually on Facebook. Customer data lived nowhere and died everywhere. Worse, the developers who built these systems couldn't evolve them. Requests for features like multi-warehouse support, variant-level product images, SMS marketing, or even basic role-based access were met with "that's not possible" or quotes that made the feature financially irrational. Business owners were locked out of their own growth. Security was an afterthought. No IP blocking, no rate limiting, no human verification, no audit trails. Several clients had experienced account takeovers and inventory manipulation before coming to WaafiTech.
What we built
WaafiTech designed Shopelize around a single principle: build the software a serious business owner actually needs, not the software that's easiest for a developer to ship. The architecture was designed for scale from the ground up. PostgreSQL handles the relational data with a normalized schema purpose-built for e-commerce — products, variants, orders, inventory, warehouses, accounting entries — all linked correctly so the platform can grow from one warehouse to many, from one staff member to an enterprise team, without a database migration. Redis powers session management, real-time cart state, and rate limiting. Cloudflare R2 handles all product and media storage with a custom domain — no expensive egress, infinite scale. The frontend is Next.js 16 with React 19, delivering sub-second page loads with server components, streaming, and edge-optimized delivery. The AI automation layer uses n8n as the workflow orchestrator, integrating with leading AI APIs to deliver: automated abandoned cart email and SMS sequences, AI-generated personalized offers for dormant customers, intelligent order routing across couriers based on area and cost, and automated inventory reorder alerts. These workflows run silently in the background while the business owner focuses on selling. Security was built in at every layer — Cloudflare Turnstile for human verification on all forms, API rate limiting with per-IP and per-endpoint granularity, a dynamic IP block list with expiry support, role-based and permission-based access control down to individual UI actions, and a full activity log capturing every security-relevant event with privacy-safe IP hashing.
Full Case Study
Executive Summary
Shopelize is an enterprise-grade, fully managed e-commerce platform built by WaafiTech for Bangladesh's fast-growing f-commerce and SME market. Where off-the-shelf WordPress solutions consistently failed business owners the moment their operations grew beyond the basics, Shopelize delivers a purpose-built, AI-powered, and deeply scalable alternative — one that grows with the business, not against it.
The platform consolidates inventory management, warehouse operations, accounting, AI-driven marketing automation, multi-channel analytics, and enterprise security into a single, cohesive product. It is the software WaafiTech's clients always needed but could never find.
The Problem: A Market Underserved by Technology
Bangladesh's f-commerce ecosystem is remarkable. Tens of thousands of entrepreneurs built real, profitable businesses entirely through Facebook — organic communities, loyal repeat customers, and genuine brand equity. But when they tried to graduate to proper e-commerce, they hit a wall.
The technology providers available to them fell into two camps: cheap WordPress theme shops that handed over a site and disappeared, and enterprise software vendors whose pricing was aimed at multinationals. There was nothing serious, affordable, and purpose-built for the Bangladeshi market in between.
"My previous developer gave me a WooCommerce site. It worked for three months. Then my inventory numbers stopped making sense, orders started duplicating, and when I asked for a fix, he said he'd need to rebuild everything. I'd already paid him twice." — A typical client conversation before Shopelize.
The specific gaps WaafiTech observed across dozens of client conversations:
- No real inventory management. Stock was tracked in Excel or WhatsApp groups. Overselling was common.
- No profitability visibility. Revenue was visible; actual profit — after COGS, shipping, payment gateway fees, and returns — was not.
- No marketing automation. Abandoned carts were invisible. Dormant customers were forgotten. Flash sales meant posting manually.
- No scalable architecture. Adding a second warehouse, a second brand, or a second staff member required developer intervention every time.
- No security posture. No rate limiting, no bot protection, no audit trails, no role-based access. One disgruntled employee could access everything.
- No tracking intelligence. GA4, Facebook Pixel, TikTok Pixel, and Microsoft Clarity were either misconfigured or entirely absent, making paid marketing a guessing game.
Our Approach: Design for the Business, Then Engineer for Scale
WaafiTech began Shopelize with an explicit rule: no feature would be built without a corresponding real-world business scenario it solved. Every sprint began with a business problem, not a technical idea.
This meant spending time with actual f-commerce operators — watching how they processed orders, how they communicated with suppliers, how they resolved customer complaints, and where they felt the most pain. The product roadmap was built bottom-up from those conversations.
The technical architecture followed a complementary principle: build for the scale the client will need in 18 months, not the scale they need today. Every data model was designed with multi-tenancy, multi-warehouse, and multi-currency in mind, even when the first client operated a single warehouse with a single currency.
Technical Architecture
Frontend & Rendering
Shopelize is built on Next.js 16 with React 19, using the App Router with a carefully considered mix of Server Components, Client Components, and Suspense streaming. Product listing pages and category pages are statically generated with on-demand revalidation, achieving sub-second load times even on mobile. The storefront scores 95+ on Lighthouse performance across all tested configurations.
Database Design
PostgreSQL serves as the primary database, with a schema designed specifically for e-commerce — not adapted from a generic schema. Key design decisions:
- Products and variants are properly separated, with each variant carrying its own SKU, price, stock level, and image set.
- Orders cascade through a state machine (pending → confirmed → processing → shipped → delivered → returned) with every state transition logged.
- Inventory movements are tracked as double-entry ledger entries — every stock adjustment has a source (purchase, sale, return, manual correction) and is immutable once committed.
- Accounting entries follow the same immutability principle, giving real-time profit-and-loss that accountants can trust.
Caching & Performance
Redis handles session state, real-time cart persistence (survives browser close), rate limiting counters, and frequently-read catalog data. The combination of PostgreSQL's reliability and Redis's speed allows Shopelize to handle traffic spikes — flash sales, SMS blast responses — without infrastructure changes.
Object Storage
All product images, gallery assets, invoices, and media are stored in Cloudflare R2, served through a custom domain. R2's zero-egress pricing model means storage costs scale predictably with catalog size, not traffic — critical for storefronts that run viral campaigns.
Core Platform Features
Inventory & Warehouse Management
Shopelize supports multiple warehouses with real stock levels, transfer orders between locations, low-stock alerts, and a full audit history for every inventory movement. Merchants can see exactly how many units of each variant are in each location at any moment — no spreadsheet required.
Accounting & Profitability
Every order automatically generates accounting entries: revenue, cost of goods sold, shipping cost, payment gateway fee, and applicable taxes. The profit-and-loss dashboard shows real profitability — not just revenue — by product, category, time period, or sales channel. This alone has been transformative for clients who previously had no idea which products were actually making them money.
Order Management & Logistics
Orders can be placed manually by staff (for phone or in-person sales), received from the storefront, or imported from third-party channels. Each order flows through an automated processing pipeline: payment verification, inventory deduction, warehouse pick-and-pack instruction generation, courier booking (via integrated courier API with area-based routing), and real-time tracking updates pushed back to the customer.
Product Management
Full variant support with variant-specific pricing, SKUs, stock levels, and image galleries. Combo product builder lets merchants group products into bundles with custom pricing. Campaign and flash sale scheduling with countdown timers and automatic price restoration. Coupon engine supporting fixed-amount, percentage, and free-shipping discount types with usage limits, minimum order thresholds, and customer-specific restrictions.
AI Automation Layer
The AI automation system is built on n8n as the workflow orchestrator, connecting Shopelize's internal APIs with leading AI providers. Key workflows:
- Abandoned Cart Recovery: Customers who add to cart but don't complete purchase receive a personalized email sequence (immediately, after 2 hours, after 24 hours) with AI-generated copy tailored to the specific products they left behind. SMS follow-up is triggered for customers who haven't opened the emails.
- Dormant Customer Re-engagement: Customers who haven't placed an order in a configurable period (default 60 days) are automatically identified, segmented by purchase history, and receive personalized offers generated by AI based on what they previously bought — not generic discount blasts.
- Intelligent Courier Routing: When an order is ready for dispatch, the system evaluates the delivery address, the available courier APIs, their current delivery times, and their pricing — then automatically selects the optimal courier and books the pickup.
- Inventory Reorder Automation: When a SKU's stock level drops below its configured reorder point, the system can automatically generate a draft purchase order and notify the relevant supplier.
- AI-Powered Product Descriptions: Merchants can generate SEO-optimized product descriptions from basic input (product name, category, key attributes) directly within the admin panel.
Marketing & Analytics
Shopelize treats tracking as a first-class feature, not an afterthought. All tracking implementations follow a server-side + client-side dual approach:
- Google Analytics 4: Standard client-side tag plus server-side Measurement Protocol events for purchases, ensuring 100% order attribution even through ad blockers.
- Facebook Conversions API: Server-side event deduplication with client-side pixel for the strongest possible signal quality — critical for Meta campaign optimization.
- TikTok Events API: Server-side events alongside the client-side pixel, matching TikTok's recommended implementation for commerce advertisers.
- Microsoft Clarity: Session recordings and heatmaps for UX analysis and conversion rate optimization.
The built-in marketing analytics dashboard aggregates data across channels: revenue by traffic source, campaign ROI, coupon usage and discount impact, newsletter open rates, and SMS delivery and click rates — giving merchants a single view of their marketing performance without needing a BI tool.
Enterprise Security
Security was designed in layers, not bolted on:
- Cloudflare Turnstile on all public-facing forms — login, registration, checkout, contact — to block automated abuse without degrading user experience.
- API rate limiting at per-IP and per-endpoint granularity using Redis, with automatic temporary blocks for sustained abuse patterns.
- Dynamic IP block list — admins can block IPs manually or rules can trigger automatic blocks, with configurable expiry (temporary ban vs. permanent).
- Role-based access control with fine-grained permission sets — not just "admin vs. staff" but individual permissions for each system action, assignable per user.
- Full activity log capturing every security-relevant event (login attempts, permission changes, order modifications, inventory adjustments) with privacy-safe IP hashing (SHA-256, never raw IP stored).
- Staff session management — admins can view and terminate active sessions for any staff member.
Customer Experience Features
- Wishlist & saved carts — persistent across sessions and devices.
- Order tracking — real-time courier status updates surfaced directly in the customer's account.
- Support ticket system — customers open tickets linked to specific orders; staff respond with full order context visible.
- Newsletter with segmentation — subscribe/unsubscribe management, segment by purchase history or behavior, send via integrated email provider.
- Blog for SEO — full rich-text editor, SEO metadata control, category/tag taxonomy, and sitemap integration.
Results & Impact
Shopelize went from concept to production in 8 months and has since been deployed for multiple WaafiTech clients, each with different business models and scale requirements. Measurable outcomes across the client base:
- Inventory discrepancy rate dropped from an average of 18% (spreadsheet-based) to under 0.5% within the first 90 days of operation.
- Abandoned cart recovery workflows recover 12–19% of otherwise-lost orders, depending on the product category.
- Merchants report an average of 6 hours per week saved on manual order processing and inventory reconciliation after deploying Shopelize's automation.
- Average storefront Lighthouse performance score: 96/100 on desktop, 91/100 on mobile.
- Zero reported security incidents across all deployed instances since launch.
What We Learned
Building Shopelize reinforced several things WaafiTech believes strongly about software for growing businesses:
First, accounting and inventory must be first-class citizens, not features added after the "real" e-commerce functionality. Every business decision — what to restock, which product to promote, which customer segment to target — is downstream of accurate financial data.
Second, AI automation delivers the most value when it's invisible. The highest-impact workflows (abandoned cart, dormant customer re-engagement, courier routing) run entirely in the background. The merchant doesn't configure them each time — they set a rule once and the system handles it.
Third, security is not optional for any business handling customer data and payment information. The IP blocking, Turnstile, and activity logging systems have already caught and stopped multiple automated attack campaigns against Shopelize storefronts.
Finally, design for the 18-month version of your client's business. Every client who came to WaafiTech with a "small" business either grew significantly or planned to — and the ones whose platforms couldn't grow with them eventually lost that growth to their competition.
Ready to Build Something Great?
Join forces with ThinkLize to transform your vision into an incredible digital reality.
