Descriptions, price, category, brand, variants and media can be prepared without exposing an incomplete product.
Preparing and publishing products
This guide covers: how staff prepare and publish products, then remove them from sale while keeping their records.
About this guide
Prepared with AI under human direction. Publication and variant rules were checked against backend source on 12 September 2026 at revision d305706a. The film records the July interface and has not been replayed as a current acceptance test.
1. What it does
Catalog managers prepare products privately, review them, publish them in the shop and later remove them from sale. The product record and history remain available to staff.
Search visibility depends on the product status and the stock availability recorded by Catalog.
2. From draft to the shop
The film follows one product across the real Catalog backoffice and storefront with on-screen captions.
Prepare, review, publish and archive
Shows the product hidden while Draft, prepared and reviewed in Catalog, published into the live storefront, then archived and withdrawn while its product record remains available to staff.
3. Archive a product without deleting it
A product can leave the assortment without deleting the business record that explains what happened.
- 01UnpublishReturns a published product to Draft with a reason.
- 02DiscontinueEnds normal sale and can retain a successor-product relationship.
- 03ArchiveRecords the reason and timestamp, removes customer exposure and remains restorable to Draft.
- 04DeleteRemains a separate terminal soft-delete state rather than an archive synonym.
4. What changes for the customer
- 01Incomplete products stay privateManagers can prepare product details while keeping drafts private.
- 02Staff can review publication decisionsReview requests, approvals and status history remain visible to Catalog staff.
- 03Customer visibility follows lifecyclePublished products enter discovery; archived products are withdrawn.
- 04History survives retirementCatalog retains identity, reasons and timestamps for staff to consult later.
How catalog governance works
The sections below explain lifecycle flow, aggregate ownership, publication checks, event delivery, search visibility and current operating limits.
5. Publishing and withdrawing products
Catalog records the product identity and status throughout preparation, publication and withdrawal.
6. Rules enforced by Product
Product enforces its rules whenever its status, variants, images, prices or relations change.
| Product manages | Rules enforced | Other services manage |
|---|---|---|
| Product content and dimensions; variant SKU, EAN and commercial terms | Product identity and required publication details | Stock manages quantities and reservations |
| Lifecycle, schedule and publish/archive timestamps | Actions, reasons and retained history | Search documents can be rebuilt |
| Variants, media, attributes, tags and relations | Limits, uniqueness and domain events | Orders retain immutable commercial snapshots |
| Category and brand references | Only active references are accepted | Category and Brand remain separate Catalog aggregates |
| Fact | Current rule | Purpose |
|---|---|---|
| Variant | At most 20; unique attribute combinations. Each variant owns its price, pending price, cost and recycling fee. | Keeps each sellable option and its commercial terms together |
| Media | Images at least 800 × 800; at most three videos; optional variant targeting | Preserves usable product presentation |
| Category / Brand | References must be active | Keeps navigation and filters tied to active records |
Prices belong to variants, not a parent-product base price. VariantCommercialTerms requires a non-negative cost when supplied and a non-negative recycling fee no greater than the price excluding tax. The fee is included in that price, not added on top. Approving a pending price replaces the variant’s current price and clears the pending value.
Source: variant terms
VariantCommercialTerms and ProductVariantBehavior, checked 12 September 2026.
7. Publication decision
Publication approval and price approval are separate actions. Product approval requires PENDING_REVIEW and the full publication checklist. Approving a variant’s pending price updates its terms without publishing the product.
| Action | Checks | Result |
|---|---|---|
Product.approve() | Requires PENDING_REVIEW and all twelve publication checks | Publishes the product and records a publication event |
DefaultProductValidationService | The same twelve checks at the application boundary | Returns the publication validation result to the dispatcher |
| Variant price approval | Requires a pending variant price; validates currency compatibility with an active fixed campaign | Updates variant terms and saves the product without publishing it |
The twelve checks cover name, description, image, active default variant, positive price, cost, pending price, EAN, dimensions, recycling fee, energy label and SEO metadata. Category-specific requirements apply where relevant.
Source: publication rules
Checked 12 September 2026: ProductPublicationValidator, application validator, Product approval and variant price approval. This source check does not establish a new runtime acceptance result.
8. Search updates and limits
Lifecycle changes leave Catalog through its transactional outbox. Search and other consumers update asynchronously and remain repairable from authoritative Catalog state.