Scenario 7 - Testing ProductRequiredFor with No Group and One Element Not Passed
Send a validation request with no group and one element that is not passed.
- Procedure
- Create a product bundle that has ProductComprisedOf Phone1.
- Set Phone1 ProductComprisedOf SIM_Card.
- Set SIM_Card to have ProductRequiredFor Data_Plan.
- Set Data_Plan with a restriction of minimum and the maximum number of
one (
ocvValidationReq=false
). - Add Data_Plan and SIM_Card to your basket.
ResultDuring validation,
when you add both products (the product SIM_Card and Data_Plan) to your basket,
an error occurs because the minimum and maximum number are defined as one for
Data_Plan, which was already added to the basket from the product SIM_Card.