Skip to content

Product Phase A Built

The Product module is the merchant's catalog. Owners and managers define what they sell - products, the sellable variants beneath each product, the prices (fares) those variants carry, the categories that group them, and the codes (SKU, barcode, QR) used to find them. Everything sold through POS, online, or any channel starts here.

1. Identity

PropertyValue
Module IDCORE-05
TierCore
StatusBuilt
PhaseP1 (catalog) · P2 (variants + fares) · P3 (advanced types + promotions)
PriorityHIGH
Primary usersOwner / Manager (catalog setup) · Cashier / Employee (lookup at POS)

2. Purpose & Scope

IncludedExcluded
Products, categories, and product imagesBill of Materials / recipe management → Inventory
Variants (the sellable units) + variant typesStock levels per location → Inventory
Pricing via fares (base, tiered, time/quantity/channel)Order processing & checkout → Orders
Product & variant identifiers (SYSTEM, SLUG, SKU, BARCODE, QRCODE)Tax rates & e-invoice → Tax & Invoice
Sale-channel availabilityCSV / bulk import (Planned)
Bundles (combo, add-on, frequently-bought-together)Promotion discount calculation (In-progress)

3. Capabilities

CapabilityWhat the user can do
Product catalogueCreate, update, deactivate, archive, and reactivate products
Multilingual infoName & description per product / variant in multiple languages
CategoriesGroup products; flag a category as add-on
Product imagesAttach media to products and variants
Default variantEvery product gets one variant automatically on creation
IdentifiersLook up by SYSTEM, SLUG, SKU, BARCODE, QRCODE
VariantsAdd multiple sellable variants per product (atomically with info, fares, IDs)
Variant typesSTORABLE, CONSUMABLE, SERVICE, KIT, COMBO, MANUFACTURED, ENTITLEMENT
Product optionsDefine option axes & ordered values; each variant binds one value per axis, combinations unique
Units of measureBase / purchase / sale unit stored per variant
Sale-channel availabilityControl which products appear in which channels
Fares (pricing)One fare set per variant; tiered prices by quantity, time, channel
BundlesCombo, add-on, and frequently-bought-together relationships
Effective date rangeVariants available only inside a validity window
Variant pricing read endpointRetrieve a variant's resolved price in isolation
PromotionsDiscount campaigns (create/manage)
Unit conversionsBuy in one unit, sell in another
CSV / bulk importUpload a catalogue from a spreadsheet

Promotions can be created and managed today, but the discount calculation engine is disabled - discounts are not yet applied automatically at pricing time. See developer Promotions doc.

4. Module Dependencies

Depends onWhy
CommerceProducts and categories are scoped to a merchant
InventoryStockable variants seed inventory items; BOM lives here
OrdersVariants are what gets sold in an order
Tax & InvoiceTax groups are applied to products

5. Backend Packages

Implementation detail lives in the developer docs - this section only maps the module to the services that power it.

PackageRoleDeveloper docs
@nx/commerceProducts, variants, categories, identifiers, bundles, sale channelscommerce
@nx/pricingFare sets, fares, rules, fare selection, promotionspricing
@nx/coreShared schemas for all catalog entitiescore

Engineering Mapping (Feature ⇄ Package)

The horizontal axis of the Feature Spine - each business feature (<AREA> in the URD) maps to its engineering home. Reciprocal: the package docs link back here.

FeatureDev packageStatus
PRD Product Catalogue@nx/commerce · @nx/coreBuilt
CAT Categories@nx/commerceBuilt
PID Identifiers@nx/commerceBuilt
ACC Access Control@nx/commerceBuilt
VAR Variants@nx/commerceBuilt
BND Combos & Bundles@nx/core · @nx/commerce · @nx/saleBuilt
OPT Product Options@nx/commerce · @nx/coreBuilt
FAR Fares / Pricing@nx/pricing · @nx/commerceBuilt
SCH Sale Channels@nx/commerce · @nx/core · @nx/searchBuilt
CMP Promotions@nx/pricingIn-progress

6. Key User Flows

Product creation (aggregate)

Fare resolution (at sale)

7. Roles & Permissions

RoleCanCannot
OwnerFull catalogue management within own merchantsSee products of other organizations
Manager / EmployeeView and look up products in assigned merchantsSee merchants they are not assigned to
Admin / Super AdminView across all organizations (role filtering bypassed)-

8. Status & Roadmap

PhaseCapabilities
P1Product CRUD, categories, images, default variant, base fare, SYSTEM/SLUG identifiers
P2Multiple variants (aggregate), multi-scheme identifiers, tiered fares (date/quantity), sale-channel availability, bundles
P3Advanced variant types (KIT/COMBO/MANUFACTURED with BOM), UOM, promotion discount engine, CSV import

Variant types and UOM storage are already built; the BOM consumption, unit-conversion, and promotion-discount behaviors that complete P3 are still pending - see the Capabilities table.

Proprietary and Confidential. Unauthorized copying, distribution, or use of this software is strictly prohibited.