Product Administration Guide > Build Customizable Products >

Understanding Cardinality


When you define a relationship, you can specify a minimum, maximum, and default cardinality. Cardinality refers to the quantity of the products the user can select from a relationship. For example, you define a relationship called Hard Drives. It contains a 20 GB drive and a 30 GB drive. If you set the minimum cardinality to 2, the user must pick 2 items from this relationship. The user can do this in any of the following ways:

The three types of cardinality you can define for a relationship are as follows:

Table 17 describes several combinations for setting cardinality. The table shows what the user will see in the initial solution and what actions that the user can take. In the table, N is the quantity of the default product in the initial solution. In all the cases where the Min Card is greater than 0, the user can substitute other products for the default product.

Table 17. Combinations of Cardinality
Min Card
Default Card
Max Card
System Adds Default Product?
User Pick Reqd?
Initial Solution
User Actions Allowed
=0
= Min Card
>Default Card
No
No
No items
Increase item quantities to Max Card.
=0
> Min Card
=Default Card
No
No
N=Max Card
Decrease Item quantities to 0 but cannot increase them.
=0
> Min Card
>Default Card
No
No
N=Default Card
Increase item quantities to Max Card or decrease them to 0.
>0
= Min Card
=Default Card
Yes
Yes
N=Min, Default, Max
Cannot increase or decrease item quantities.
>0
= Min Card
> Default Card
Yes
Yes
N=Min
Can increase item quantities to Max Card but cannot decrease them.
>0
> Min Card
= Default Card
Yes
Yes
N=Default
Can decrease item quantities to Min Card but cannot increase them.
>0
> Min Card
>Default Card
Yes
Yes
N=Default
Can decrease item quantities to Min Card or increase them to Max Card.


 Product Administration Guide, Version 7.5 
 Published: 18 April 2003