Home / Companies / Strapi / Blog / Post Details
Content Deep Dive

How to Build a B2B Wholesale Catalog with Strapi and Next

Blog post from Strapi

Post Details
Company
Date Published
Author
Paul Bratslavsky
Word Count
4,765
Language
English
Hacker News Points
-
Summary

This tutorial explores building a B2B wholesale catalog using Strapi 5 and Next.js 16, offering a more efficient approach to managing login-gated catalogs with per-customer pricing tiers. It suggests creating a backend with Strapi 5 to store products with multiple tier prices and a frontend with Next.js 16 App Router to manage authentication, server-side catalog rendering, and a quote request flow, replacing the traditional cart checkout. The architecture divides responsibilities between Strapi 5, which manages access control and tier-to-price logic, and Next.js 16, which handles rendering and buyer sessions. The guide emphasizes the importance of modeling data correctly in Strapi, using a custom policy and controller overrides to ensure buyers see only the prices relevant to their tier. It also discusses setting up a server action for handling JWT-based authentication and using React Context for managing cart state in the frontend. The tutorial concludes by suggesting additional features such as order history and CRM integration to enhance the catalog's functionality.