Skip to content

Smart catalogues: items priced from other catalogues

Describes Catalogue 0.50.0.

A smart catalogue holds items whose cost depends on other catalogues, such as “Delivery: 5% of Kitchen, plus 20 flat for Hardware”. Each item stores rules; your app does the sum when it builds an order.

Where to find it

Create a catalogue and set Kind to Smart — items reference other catalogues. “Smart catalogues hold items like “Delivery” whose cost is a per-catalogue %/flat rule picked from other catalogues. Items here reference other catalogues instead of carrying a base price of their own.” The rules are on each item’s form in that catalogue.

Catalogue rules

On an item in a smart catalogue, Catalogue rules says: “Pick which catalogues this item applies to and set a value + unit per catalogue. Rows left blank inherit the defaults below.”

  • Tick the catalogues the item applies to. Only standard catalogues can be referenced. Each ticked row takes a value and a unit, percent or Flat. Drag rows to reorder them; Clear all unticks everything.
  • Default value: “Used for any selected catalogue that doesn’t have its own value. If no catalogues are selected, this is the item’s standalone fee (e.g., $50 flat).”
  • Default unit: Percent (%) or Flat amount. “Used for any selected catalogue that doesn’t have its own unit.”

With no other catalogues to point at, the block says No other catalogues available to reference yet.

What it doesn’t do

  • The module stores the rules only. It doesn’t calculate a price; the app that uses the catalogue does that at order time.
  • A smart catalogue can’t reference another smart catalogue or itself.
  • Deleting a referenced catalogue removes the rules that pointed at it.