The challenge
Wholesale was being run through discount codes and emailed spreadsheets. Trade customers could see retail pricing, minimum order quantities were enforced by hand, and every order needed a person to check it before it could ship.
Objectives
- Give each trade customer their own pricing
- Enforce minimum order quantities automatically
- Keep wholesale separate from the retail storefront
- Remove the manual order check before fulfilment
What we built
An embedded Shopify app built with App Bridge and Polaris so it behaves like a native part of the admin, backed by Prisma and PostgreSQL for customer-specific price lists, quantity rules and account-level terms.
Technology
Polaris · PostgreSQL · Prisma · React Router 7 · Shopify App Bridge
How it was delivered
- Embedded admin app scaffolded with React Router 7 and App Bridge
- Polaris interface so store staff needed no separate training
- Prisma schema for customer groups, price lists and quantity rules
- Account-gated ordering experience separate from retail
- Order validation moved into the app rather than a manual check
Outcomes
- Trade customers see only their own pricing
- Minimum quantities are enforced at the point of ordering
- Wholesale orders no longer need a manual review before shipping
- New trade accounts are set up from the Shopify admin
