Skip to main content
Experimental. This Module has no test or production evidence recorded yet. Read it, run it locally, and hold off on real Orders. See maturity levels.
The Brands Module organizes products by manufacturer or brand. You create brand records with logos, banner images, and SEO metadata, then assign products to them. The Storefront gets dedicated brand pages and featured brand listings. A product belongs to exactly one brand, so filtering catalog queries by brand stays unambiguous. Source: modules/brands · npm: @86d-store/brands

Installation

Then register the Module in your store’s config.json:

Configuration

string
default:"\"100\""
Maximum number of products returned by the brand products endpoint. This value is a string for module config compatibility.

Store endpoints

Store endpoints are public and return only active brands. Inactive brands are hidden from the Storefront.

Admin endpoints

Admin endpoints require authentication and return brands of all statuses.

Components

Add these components to your MDX Template files. The brands Module must be listed in config.json.

BrandList

Renders a grid of active brands. Fetches its own data.
number
Maximum number of brands to display.

FeaturedBrands

Renders a row or grid of featured brands. Fetches its own data.
number
Maximum number of featured brands to display.

Types

Notes

  • A product can belong to only one brand. Assigning a product to a new brand automatically removes it from its previous brand.
  • Store endpoints return only active brands. getBrandForProduct returns null for inactive brands.
  • Deleting a brand cascades and removes all associated BrandProduct records.
  • Bulk assign and unassign operations are idempotent. Already-assigned products are skipped, and the return value is the count of new assignments only.