Development
4 min readWhen we think of eCommerce "scale," we usually think of traffic—millions of customers hitting a storefront. But for a national leader in customized branding, the real scaling challenge was human. They didn't just have 20 expert merchandisers; they had 10,000 distributed partners—school administrators, local volunteers, and everyone in between.
Standard eCommerce admins are built like a cockpit—hundreds of switches and data grids designed for power users. For a local administrator who just needs to upload a logo and track this week's sales, that cockpit is a liability. It's overwhelming, intimidating, and increases the likelihood of human error.
We worked with the client to build a Polymorphic Admin: one platform that adapts to who’s logging in and what they’re there to do.
We didn't just hard-code a different interface for these 10,000 users. Instead, we leaned heavily into Broadleaf’s Admin Metadata. Metadata allows us to treat the UI as data. We defined custom properties that changed field labels, rearranged groupings, and toggled visibility. This approach allowed us to:
Local Administrator Product View:


Metadata reshapes the existing UI, but some missions need a purpose-built one. For these, we leaned on the platform’s ability to plug in custom React UI components.
We replaced the standard admin homepage with a bespoke Partner Dashboard. It’s a dedicated React application running inside the Broadleaf Admin shell—a guided mission control for partners:
Custom Dashboard

One of the customizations we’re proudest of is the Promotion Opt-In model. In a traditional system, you can either create a discount or you can’t. That forces a choice between total control and none, and neither fits a distributed team.
We solved this with the "Opt-In" Model:
The result is centralized brand governance without giving up local autonomy.
Expert Promotion View:


Treating the admin as a modular platform rather than a static tool gave the Home Office its full Command Center and the 10,000 local partners a simple, task-oriented app—from the same codebase.
Contextual Routing and Admin Metadata let the client run a single, unified codebase while still shipping thousands of distinct experiences. The next brand, property, or partner program can plug into that same foundation without a rebuild.