Skip to content

Catalogue 0.1.0: Product catalogues with manufacturers and suppliers

Catalogue 0.1.0 is the first release of the PhoenixKit catalogue module as its own package. It gives a Phoenix site an admin area for product catalogues: catalogues split into categories, items with SKU and price, and the manufacturers and suppliers behind them.

What the module holds

  • Catalogues are the top-level groups, such as “Kitchen Furniture”. Each has a name, a description and a status.
  • Categories divide a catalogue. They have a position, and the Move up and Move down buttons on a catalogue’s page change their order. A category can be moved to another catalogue.
  • Items have a name, description, SKU, price, a unit (Piece, m² (square meter) or Running meter) and a status: Active, Inactive or Discontinued. An item can belong to a category and to a manufacturer, and Move to Another Category moves it to a category in any catalogue. Items without a category are listed as Uncategorized.
  • Manufacturers and Suppliers have a website, contact information and notes. A manufacturer can be linked to several suppliers and the other way round.

Names and descriptions can be entered per language when the site has more than one language.

Where it shows in the admin

The module adds a Catalogue entry to the admin menu, with Manufacturers and Suppliers under it. The main page has tabs for Catalogues, Manufacturers and Suppliers, each with a button to create a new one. A catalogue’s page lists its categories with their items, and has Add Category, Add Item and Edit.

Deleting and restoring

Delete moves a catalogue, category or item to a deleted view instead of removing it. From there it can be restored with Restore, or removed for good with Delete Forever after a confirmation. Deleting a catalogue or a category also moves what it contains to the deleted view.

Upgrading

Add {:phoenix_kit_catalogue, "~> 0.1"} to the app’s dependencies and run mix deps.get. The module is found automatically; turn it on in Admin > Modules. Its tables (phoenix_kit_cat_*) come from PhoenixKit core’s migrations, not from this package.

Full release notes: Catalogue 0.1.0

0.1.0 · 25 March 2026

Added

  • Extract Catalogue module from PhoenixKit into standalone phoenix_kit_catalogue package
  • Implement PhoenixKit.Module behaviour with all required callbacks
  • Add Catalogue, Category, Item, Manufacturer, Supplier, and ManufacturerSupplier schemas with UUIDv7 primary keys
  • Add PhoenixKitCatalogue.Catalogue context with full CRUD for all schemas
  • Add soft-delete system with cascading trash/restore for catalogues, categories, and items
  • Add move operations for categories (between catalogues) and items (between categories)
  • Add multilingual support for translatable fields via PhoenixKit’s multilang system
  • Add admin LiveViews: catalogues, categories, items, manufacturers, suppliers with forms
  • Add centralized Paths module for route generation
  • Add css_sources/0 for Tailwind CSS scanning support
  • Add behaviour compliance and catalogue context test suites

Catalogue 0.1.0. Install or update: {:phoenix_kit_catalogue, "~> 0.1"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.