Scenario 9 - Testing LinkDefinitions with Restrictions with Maximum Number of Products in a Group

Send a validation request with LinkDefinitions with a maximum number of products in a group restriction.

Procedure

  1. Create a parent product called Parent1 that ProductComprisedOf a child product called Child1.
  2. Define a record level restriction for Child1 of maximum number of two.
  3. Add a group level restriction of maximum number of one.
  4. In the relationship ProductComprisedOf, define a LinkDefinitions value composed by name and address.
  5. Add one Parent1 and two Child1 with same values for name and address UDFs to the basket.

Result

This validation is unsuccessful because Parent1 has two Child1 associated due to the same name and address UDF values, while just one child per group is allowed.