Design your model

Families

Define which attributes a kind of product has, which are required, and for which channels.

A family is the contract for a kind of product. It answers: which attributes apply here, which of them are mandatory, and mandatory for which channels.

Families are what keep a large catalog governable. You decide once per family rather than once per product, and every product in the family inherits the rule. A product without a family has no required attributes, so nothing about it can be measured: it shows no completeness, and its display name cannot be read from the family. Every product you intend to publish belongs in one.

Getting the granularity right

Split into separate families when the attribute set differs, and only then. A different marketing category is no reason.

  • Hydraulic fittings and pneumatic fittings, needing the same technical fields: one family, with a medium attribute.
  • Fittings and safety gloves: two families. Nothing about thread size applies to a glove.

Ten to fifty families is normal for a serious B2B catalog. Several hundred is a signal that categories have been modelled as families; see Categories for the difference.

Create a family

  1. Go to PIM › Data model › Families.
  2. Select New family.
  3. Enter a Code (permanent) and the Labels (i18n).
  4. Choose the Label attribute: the attribute used as the product's display name. Usually name. If you leave it empty, the tenant's default label attribute applies, which is name unless an administrator changed it.
  5. Choose the Image attribute: the asset attribute that provides the main image shown in lists and search results.
  6. Save.

Assign attributes to the family

This is the substance of the family.

  1. Open the family and go to Family attributes.
  2. Select Add attribute for each attribute that applies to this kind of product.
  3. For each one, set:
    • Required: a product in this family is not complete without it.
    • Required channels: required only for the channels you list. This is how you say "the long description is mandatory for the web shop but not for the punchout catalog".
    • Sort: the order fields appear in on the editing screen.
Required is the lever that drives completeness. Mark too little required and completeness always reads 100% and tells you nothing. Mark too much and everything sits at 60% forever and people stop looking. Required should mean "we cannot publish without this".

A worked example

A family hydraulic_fitting:

AttributeRequiredRequired channels
nameyesall
descriptionyesweb shop only
short_descriptionyespunchout only
thread_sizeyesall
materialyesall
pressure_ratingyesall
manufactureryesall
weightyesall
datasheetno
application_notesno

A product here is complete for the punchout catalog with a short description and no long one, which is correct, because that is what a procurement system renders.

Changing a family later

ChangeWhat happens
Add an attribute to the familySafe. The field appears on every product in the family.
Mark an attribute RequiredThe completeness of every product in the family is now measured against one more attribute. The stored figure is stale until you run Recompute completeness on the products; expect it to drop. That is the feature working.
Remove an attribute from the familyValues already stored on products are kept; the attribute stops applying. Re-add it and the data is still there.
Move a product to a different family (Assign family)The product keeps the values for attributes both families share and hides the rest. Completeness is measured against the new family in the same step.
Change the Label attributeEvery product in the family is named from the new attribute. A product with no value there falls back to its SKU.
Delete the familyProducts keep their values but lose the family. They have no required attributes and no completeness until you assign another one.

Next