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
- Create a parent product called Parent1 that ProductComprisedOf a child product called Child1.
- Define a record level restriction for Child1 of the maximum number of two.
- Add a group level restriction of the maximum number of one.
- In the relationship ProductComprisedOf, define a LinkDefinitions value composed by name and address.
- Add one Parent1 and two Child1 with the same values for name and address UDFs to the basket.
ResultThis 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.