# GMI Trading — headless B2B store for wholesale food

> A headless B2B platform for a specialty food importer: a storefront for thousands of SKUs and hundreds of brands, wholesale accounts, hourly ERP sync, product enrichment and a custom admin with a page builder — designed and built by us.

- Client: GMI Trading
- Year: 2024
- Expertise: [Headless Commerce](https://wnotglobal.com/expertise/headless), [B2B E-commerce](https://wnotglobal.com/expertise/b2b-ecommerce), [ERP, EDI & Integrations](https://wnotglobal.com/expertise/integrations)
- Timeline: 2023–24, ongoing support
- Stack: Next.js, GraphQL, PostgreSQL, Redis, Prisma, Docker
- Our role: Architecture, design, full-stack development, data migration
- Live: gmi-trading.com
- Web page: https://wnotglobal.com/cases/gmi-headless
- Studio: WhyNotGlobal (https://wnotglobal.com/)

## Challenge

**A huge catalog that changes every hour.**

GMI Trading imports thousands of products from hundreds of European brands and sells them wholesale to stores across the US. Stock and prices live in the ERP and change all day, buyers need case-level details like UPC codes, and prices are only for approved accounts.

## Solution

**A headless store that keeps itself in sync.**

We built a fast storefront on top of the ERP: products, stock and collections sync on a schedule, buyers sign in to see their prices and order, and the team runs pages, campaigns and product content from a custom admin.

*Image: GMI Trading home page — European Food Distributor for US Retail*

The home page: categories, featured products, brands and countries one scroll away.

## Built for buyers, not browsers

Every product card shows what a store buyer actually checks: brand, country of origin, SKU, unit and case UPC. Prices and ordering open after sign-in for approved wholesale accounts, while the catalog stays public and indexable.

*Image: Featured products with SKU and UPC codes*

*Image: Category grid on the home page*

*Image: Category page with featured and dietary filters*

Categories with their own landing pages, plus featured sets like Kosher, Halal and Sugar Free.

## Brands and countries as entry points

Specialty stores shop by brand and by origin, so both got their own pages: an index of every brand with its product count, and a page per country with flag, filters and sorting.

*Image: Brands index with a page for every brand*

## A catalog that prints itself

Any collection turns into a printable catalog or a CSV in one click — 2 to 5 products per row, prices on or off — so sales reps can send a fresh line sheet without asking anyone.

*Image: Printable catalog with CSV export*

- **4,600** — products on the storefront, synced from the ERP
- **370+** — brands with their own pages
- **Hourly** — sync of products, stock and collections
- **48** — states the store delivers to

## A page builder for the marketing team

Pages are built from sections — hero slider, category grid, featured products, brands, countries — with a live preview on desktop, tablet and phone. Site pages and monthly campaign landings live side by side, with drafts and history.

*Image: Admin: page builder with live preview and sections*

### Inside the admin

*Image: Admin: product catalog with catalog health checks*

*Image: Admin: product sources and enrichment — ingredients, allergens, dietary tags*

*Image: Admin: site and campaign pages*

*Image: Admin: scheduled sync history with the ERP*

## Product content beyond the ERP

The ERP knows prices and stock but not ingredients. Each product pulls photos and facts from several sources, and the team picks which one wins. Ingredients, allergens, dietary tags and nutrition can be generated with AI and feed storefront filters and structured data. A catalog health panel shows what is still missing.

*Image: Admin: product sources and enrichment — ingredients, allergens, dietary tags*

## What we built

- **Headless storefront** — Next.js storefront with categories, brands, countries and search.
- **Wholesale accounts** — Prices and ordering for approved buyers; public catalog for everyone else.
- **ERP sync** — Scheduled sync of products, stock, collections and customers with a full run log.
- **Product enrichment** — Multiple content sources, AI-generated facts and a catalog health panel.
- **Page builder and campaigns** — Section-based pages, campaign landings, banners, menus and SEO.
- **Printable catalogs** — Any collection as a print-ready line sheet or CSV.

*Image: Collection page with country filter and sorting*

*Image: Admin: site and campaign pages*

A collection on the storefront and the pages behind it in the admin.

### Live

- [B2B store](https://gmi-trading.com) — Browse the catalog
