B2X logo

B2B2C eCommerce platform for a regulated industry

An operator of a D2C delivery platform provided B2B services for brands to sell directly to consumers through a custom shopping cart widget. The platform used proprietary ecommerce and logistics technologies for seamless ordering, alongside tools to build customer loyalty, increase marketing ROI, and protect customer data – enabling brands to leverage logistics and CMS outsourcing solutions.

Agentic-Ready CommerceCustom Digital Products
Healthcare & Regulated IndustrieseCommerce & Retail
D2C product page with subscription purchasing options — cannabis-infused edibles sold directly through brand website via embedded ecommerce widget

Challenge

Selling direct in a regulated industry

Since standard ecommerce platforms could not be used due to industry regulations, the client needed a direct-to-consumer (D2C) solution that would allow brands to use their existing websites as sales channels by integrating ecommerce functionality. Brands also faced ongoing challenges with inventory management and supply chain visibility: existing software solutions did not adequately address the unique demands of the industry, leading to operational inefficiencies and lost sales opportunities.

Embedded cart widget with subscription setup — D2C checkout flow integrated into brand website for regulated cannabis beverage brand

Solution

Eingebettetes Storefront-Widget

Over two years of development and iteration, the platform evolved from a custom ecommerce website builder with a templatization engine built on React and Liquid.js into a lean headless solution. The final frontend delivered a fully customized Shopping Cart and Checkout experience, embedded into each brand's existing website via a self-contained JavaScript bundle – requiring no site overhaul.

Custom admin panel for regulated D2C platform — product catalog management with multi-brand support, bundle pricing, and sales channel configuration

Solution

Commerce API and backend infrastructure

The widget connected to a custom Node.js backend via a GraphQL API, with authentication handled through AWS Cognito. The backend managed product catalog, inventory, ordering logic, and customer data – purpose-built for the regulatory constraints of the industry.

Admin panel order management — manual order creation with delivery scheduling, promo codes, loyalty rewards, and multi-brand fulfillment for a regulated D2C platform

Solution

Centralized admin panel

A React-based Admin Panel served as mission control for the platform, giving admins and brand managers full visibility over orders, inventory, customer communications, and marketing performance – all in a single interface.

Solution

Marketing and engagement integrations

The platform integrated a curated stack of best-in-class tools across loyalty, CRM, customer data, and monitoring: Talon.one (promotions and loyalty), Klaviyo (email marketing), Yotpo (reviews), HubSpot (CRM), Segment (customer data platform), Woopra (behavioral analytics), Hotjar (UX analytics), and Sentry (error monitoring).

Embedded analytics dashboard in D2C admin panel — sales, orders, conversion rate, traffic sources, and returning customer metrics across multiple regulated cannabis brands

Solution

Data pipelines and reporting

B2X built data pipelines consolidating events from order systems, marketing tools, logistics, and the customer engagement stack into AWS Redshift – creating a single, reliable source of truth across all brands and channels.

Tableau and Holistics were embedded directly as widgets inside the Admin Panel, delivering live dashboards and scheduled reports without leaving the platform.

Mobile checkout with loyalty rewards and promo codes — D2C order summary screen embedded in brand website via JavaScript widget

Impact

20 top DTC brands onboarded and growing

The platform onboarded 20 of the top DTC brands in the industry, giving each a direct, regulation-compliant sales channel through their existing website. For the first time, brands were able to put their marketing budgets to work – driving traffic that converted into consistent, attributable revenue rather than awareness without a purchase path. By centralizing core functions and automating processes, the solution reduced operational overhead, boosted customer engagement, and gave brands a reliable, scalable route to growth in a heavily regulated market.

Technologies we used

Frontend
ReactReact
Next.JSNext.JS
LiquidLiquid
WordpressWordpress
WixWix
WebflowWebflow
Backend
Node.jsNode.js
NestJSNestJS
GraphQLGraphQL
PostgresQLPostgresQL
Integrations
AWS CognitoAWS Cognito
TableauTableau
SegmentSegment
TalonOneTalonOne
KlaviyoKlaviyo
HubSpotHubSpot
Tools & Services
YotpoYotpo
HotjarHotjar
Google AnalyticsGoogle Analytics
GitHubGitHub
Funnel.ioFunnel.io
Hosting
AWSAWS