Tenant of Custom Cap BD
Wholesale Platform

US Custom Caps

Wholesale Tenant Platform with Dynamic Profit Margins

Visit Live Site
7+
Pricing Categories
42+
Wholesaler Pages
86+
Admin Pages
3+
User Roles
Scroll
Project Overview

Wholesale platform with
dynamic profit margins

A white-label wholesale platform operating as a tenant of Custom Cap BD, featuring a sophisticated profit margin system that enables wholesalers to set custom pricing with real-time calculations.

US Custom Caps operates as a tenant within the Custom Cap BD ecosystem, sharing the master product catalog while maintaining complete pricing independence. The platform features a sophisticated profit margin system allowing wholesalers to set global or per-category margins with real-time price previews.

Dynamic Profit Margins

Global & Per-Category

Multi-Tenant Architecture

RLS Isolation

Volume Pricing

6 Quantity Tiers

Financial Management

Invoicing & Accounting

Project Details

Client

US Custom Caps

Parent Platform

Custom Cap BD

Year

2025

Duration

2 months

Category

Web Development

Architecture
Multi-Tenant SaaS
Visit Live Site
By The Numbers

Platform Scale

The metrics that demonstrate the capability and scope of this wholesale tenant platform.

0

Pricing Categories

Independent profit margin configuration for base caps, fabrics, closures, accessories, logo methods, delivery, and customizations.

0+
Wholesaler Pages
0+
Admin Pages
0
Volume Tiers
0
User Roles
Multi-Tenant Architecture with RLS
Primary Feature

Dynamic Profit Margins

Set profit margins globally or per-category with real-time price previews. The system automatically calculates selling prices based on factory costs.

Pricing Mode

Different margins for each category

Per-Category Profit Margins

50%
0%50%100%
Price Preview
FactoryProfitPrice
$1.50+$1.50$3.00
$2.00+$2.00$4.00
$2.50+$2.50$5.00

Volume Pricing Tiers

48+units
144+units
576+units
1,152+units
2,880+units
10,000+units

Each tier can have different base prices, and your profit margins are applied on top.

Key Features

Wholesale Powerhouse

Features designed for wholesale operations, from dynamic pricing to comprehensive financial management.

01

Dynamic Profit Margins

Flexible pricing with real-time calculations

Set global or per-category profit margins with instant price previews. Support for 6 quantity tiers with automatic recalculation when factory prices change.

Global/Category modesReal-time preview6 price tiersAuto recalculation
02

Multi-Tenant Architecture

Isolated tenant within shared infrastructure

Single Supabase database with Row-Level Security policies ensuring complete data isolation. Independent branding, pricing, and customer management.

RLS isolationShared productsIndependent pricingCustom branding
03

Wholesale Dashboard

Complete B2B management suite

Comprehensive wholesaler portal with orders, customers, pricing management, template ordering, inventory tracking, and performance analytics.

Order managementCustomer CRMQuick reorderAnalytics
04

Financial Management

Complete accounting and invoicing

Double-entry bookkeeping with journal entries, invoice generation, payment tracking, and real-time profit margin analysis per order.

Ledger systemInvoice generationPayment trackingProfit analysis
05

Volume Pricing Tiers

6-tier volume-based pricing system

Automatic price breaks at 48, 144, 576, 1,152, 2,880, and 10,000+ units. Each tier can have different profit margins applied.

6 quantity tiersAuto price breaksPer-tier marginsBulk discounts
06

Resale Product Support

Third-party product markup system

Configure profit margins for supplier and third-party products separately. Track costs and profits for non-manufactured items.

Supplier productsMarkup controlCost trackingMargin analysis
07

Invoice & Quote System

Professional PDF generation

Generate branded invoices and quotes with automatic profit margin calculations. Email delivery via Resend with payment tracking.

PDF renderingBranded templatesAuto calculationsEmail delivery
08

Performance Analytics

Sales and profit tracking

Real-time dashboards showing sales metrics, best/worst performing orders, profit margin trends, and customer analytics.

Sales metricsProfit trendsOrder analysisCustomer insights
09

Template-Based Ordering

Quick reorder system

Save and share design templates for repeat orders. Token-based template sharing with customers for easy reordering.

Save templatesToken sharingQuick reorderDesign library
10

Customer Management

B2B customer relationship tools

Complete CRM for wholesale customers including contact management, order history, credit limits, and communication logs.

Contact CRMOrder historyCredit limitsCommunication
11

Pricing Configuration

Granular pricing controls

Admin interface for configuring all pricing aspects including factory costs, profit margins, platform fees, and discount codes.

Cost managementFee structureDiscount codesPrice locking
12

Platform Fee System

Transparent fee structure

$0.20 per unit platform fee with clear visibility in price breakdowns. Separate tracking for manufacturing costs, profits, and fees.

Per-unit feesCost breakdownProfit visibilityFee tracking
Scroll or use arrows to explore all features
Technology Stack

Shared Infrastructure

Built on the same powerful tech stack as Custom Cap BD, ensuring consistency, maintainability, and enterprise-grade performance.

Framework

Next.js 16

App Router with Server Components

React 19

Latest React with Compiler

TypeScript

Full type safety across codebase

UI & Styling

Radix UI

Accessible component primitives

Tailwind CSS 4

Utility-first styling

ShadCN

Beautiful component patterns

3D & Charts

Three.js

3D product customizer engine

React Three Fiber

Declarative 3D for React

Recharts

Data visualization & charts

Canvas & Artwork

Konva.js

2D canvas graphics library

Fabric.js

Interactive canvas editor

vtracer

Raster to vector conversion

Backend

Supabase

PostgreSQL with Row Level Security

Sanity CMS

Headless content management

State Management

TanStack Query 5

Powerful server state management

Zustand

Lightweight client state

Animation

Framer Motion

Production-ready animations

anime.js

Complex SVG animations

AI & ML

Google Gemini

AI-powered logo processing

OpenAI Vision

Image analysis & validation

Integration

Discord.js

Real-time bot notifications

Resend

Transactional emails

PWA

Offline-capable progressive app

Forms

React Hook Form

Performant form handling

Zod

TypeScript-first validation

Powered by the same Custom Cap BD infrastructure
Role-Based Access

3 Distinct Platforms

Each user role has a tailored dashboard with specific features for wholesale operations and management.

Administrator Portal

Full platform control with pricing and analytics management

18+
Active Orders
24+
Wholesalers
$35K+
Monthly Revenue
Dashboard Pages
Dashboard OverviewPricing ManagementOrders & FulfillmentUser ManagementAccounting & RevenueAnalytics & ReportsSettings & ConfigCommunication Hub
Key Features
Profit margin configuration
Pricing tier management
Accounting & invoicing
User management
Analytics dashboard
Platform fee settings
Discount code creation
Order management
uscustomcaps.com/admin/dashboard
Administrator Dashboard
Administrator Dashboard
Enterprise Grade

Security & Performance

Built with security-first architecture and multi-tenant isolation.

Tenant Isolation

Complete data separation via Row-Level Security

Rate Limiting

API throttling and abuse prevention

Auth Guards

Role-based access control middleware

Row Level Security

PostgreSQL RLS policies for data isolation

PWA SupportOffline-capable progressive web app
API SecurityProtected endpoints with middleware
Multi-Tenant Isolation

Complete data separation via Row-Level Security policies ensuring tenant isolation within the shared Custom Cap BD infrastructure.

Development Journey

Project Timeline

The evolution of US Custom Caps from tenant concept to wholesale powerhouse.

Oct 2025

Tenant Architecture

Multi-tenant database design with RLS policies and domain mapping

RLS policiesTenant isolationDomain configuration
Nov 2025

Profit Margin System

Dynamic pricing engine with global and per-category margin modes

Pricing engineCategory marginsReal-time preview
Nov 2025

Wholesale Dashboard

Complete wholesaler portal with customer and order management

Wholesaler portalCustomer CRMTemplate system
Dec 2025

Financial Tools

Accounting dashboard, invoicing, and profit tracking features

Accounting ledgerInvoice systemProfit analytics
Ongoing

Launch & Optimization

Performance tuning, analytics refinement, and feature expansion

Performance tuningAnalyticsNew features
Visual Tour

Platform Gallery

Explore the different screens and interfaces of the wholesale platform.

AI Quote System
ai

AI Quote System

3D Artwork Designing
customizer

3D Artwork Designing

Shipping Tracking System
tracking

Shipping Tracking System

Order Tracking System
tracking

Order Tracking System

Product Artwork Creation Suite
customizer

Product Artwork Creation Suite

Ecommerce/Product Page
store

Ecommerce/Product Page

Click to watch demo videos
Open for Projects

Need a wholesale
platform?

Whether you need a multi-tenant SaaS platform, B2B marketplace, or custom wholesale solution — let's discuss your requirements.

5+
Years Experience
20+
Projects Delivered
100%
Client Satisfaction
Ecosystem

Related Projects

Part of a connected ecosystem of cap manufacturing and distribution platforms.