Product Catalog

catalog in @open-mercato/core

Configurable catalog for products, variants, and pricing used by the sales module.

Ships with Open Mercato 0.9.0

On in a new app. Nothing to enable.

In an app from the empty preset

yarn mercato module enable @open-mercato/core --module catalog

Then run yarn generate. Core is already installed, so nothing is downloaded.

Anatomy

ADDS 12 TABLES · 7 PERMISSIONS · EMITS 18 EVENTS

Data

  • catalog_product_option_schemas
  • catalog_products
  • catalog_product_unit_conversions
  • catalog_product_categories
  • catalog_product_category_assignments
  • catalog_product_tags
  • catalog_product_tag_assignments
  • catalog_product_offers
  • catalog_product_variants
  • catalog_product_variant_relations
  • catalog_price_kinds
  • catalog_product_variant_prices

API

Routes are not listed for built-in modules.

Security

catalog.

  • products.view
  • products.manage
  • categories.view
  • categories.manage
  • variants.manage
  • pricing.manage
  • settings.manage

Events

catalog.

  • emitsproduct.created
  • emitsproduct.updated
  • emitsproduct.deleted
  • emitsproduct.stock_low
  • emitsproduct_unit_conversion.created
  • emitsproduct_unit_conversion.updated
  • emitsproduct_unit_conversion.deleted
  • emitscategory.created
  • emitscategory.updated
  • emitscategory.deleted
  • emitsvariant.created
  • emitsvariant.updated
  • emitsvariant.deleted
  • emitsprice.created
  • emitsprice.updated
  • emitsprice.deleted
  • emitspricing.resolve.before
  • emitspricing.resolve.after
  • subscribesproduct.stock_low

UI

  • 12 backend pages

Background

  • 3 workers
  • 4 CLI commands

AI

  • 29 AI tools
  • 2 AI agents

Not read: credentials and env, hosts (not in module-facts.v2.json).

From module-facts.v2.json in @open-mercato/cli 0.9.0. Read statically, not executed.