In this article (8 sections)
The context
Step: building the product catalog in Revenue Cloud. The offers were made of a base plus options, the options differed by region, and the price depended on volume.
This article covers the structure of the catalog. Volume tiers are covered in Complex Offers: Tiers, Options, 21 Hardware Variants.
The problem
A bundle for a single region is quick to model. The second region, and each added option, is where structures break, and the ones that break are those where category, classification and bundle membership were treated as the same idea.
Each of the three answers a different question, so each changes for a different reason. A new region adds options to a bundle without changing what those products are. A new category for reps moves products around without changing their attributes. When one setting carries two of these meanings, a change made for one reason breaks the other.
The solution
The three axes stay separate. The classification says what a product is, and therefore which attributes it carries. The category is where a rep finds it. The component structure is what a bundle contains.
EnlargeFlow
Attributes hang off the classification, not off the product. The category is only what the seller browses. Modeling them as one thing works until the first product needs to appear on two shelves, or two products of the same type need different attributes.
- Catalog — ProductCatalog (the container), ProductCategory (the shelf)
- Definition — Classification (what it is), AttributeDefinition (what it carries), Product2 (the product)
- Selling — SellingModel (how it is sold), RelatedComponent (the bundle), PricebookEntry (the list price)
How to set it up
- Classifications before products. Changing one afterwards changes the shape of every line already captured against it.
- A sequence on every bundle component. A missing one throws an index error at configuration time.
- Build one product by hand in the UI first, then compare it field by field with one created by API before loading the rest.
Enlarge- 1The catalog categories: how a sales rep actually searches, not through a list of product codes.
- 2The list price, before any discount and before any configuration.
- 3Add to the quote. The product is not configured yet: that comes next.
Alternatives
The choice was three separate axes and a configurator. The option ruled out is turning every combination into its own product. It removes the configurator entirely and holds up for a small, stable catalog, but it stops scaling at the first attribute that multiplies the combinations. With options that change by region, that comes fast.
On this catalog, build order mattered more than I expected: classifications first, then one product built by hand, and the bulk load only after comparing the two.
In practice
- Keep classification, category and bundle structure separate. They answer three different questions.
- Create classifications before products.
- Give every bundle component a sequence.
- Build one product by hand, compare it field by field with one created by API, then run the bulk load.