Scenario 11 - Testing with Products of the Same Name but Different Parents

Send a validation request with two products that have the same name but different parents.

Procedure

  1. Create a hierarchy of products within a group. Name the group Bundle_1. Make Bundle_1 ProductComprisedOf Phone_Service.
  2. Make Phone_Service ProductComprisedOf the following four products:
    1. Phone_1 with a restriction of minimum and maximum number of one.
    2. Sim_Card with a restriction of minimum and maximum number of one.
    3. Phone_Charger with a restriction of a minimum of zero and a maximum of one.
    4. Landline_Pack with a restriction of a minimum of zero and a maximum of one.
  3. Make Landline_Pack ProductComprisedOf the following two products:
    1. Phone_1 with a restriction of minimum and maximum number of one.
    2. Phone_2 with a restriction of minimum and maximum number of one.
  4. Add Bundle_1 to your basket with Phone_Service, Phone_Charger, Landline_Pack, and Phone_2.

Result

During validation a cascade of validateOffer errors occur for Phone_1 with Phone_Service parent, Sim_Card with Phone_Service parent, and Phone_1 with Landline_Pack parent.