Inserting a constraint element
Constraint elements can be inserted into answer elements.
About this task
To insert a constraint element:
Procedure
Results
Notes:
- The feature value constraints between one feature and another feature have an "AND" relationship. For example, you might have feature "hard drive" equal to 1.2GB AND feature "processor speed" equal to 200MHZ. Only products with a 1.2GB hard drive and 200MHZ processor speed will qualify for this answer.
- If you specify the Equal to constraint for more than one value or if you specify Equal to with any other constraint, you create an "OR" relationship. For example, if you define two constraints where the feature value has to be equal to 2 and equal to 3, then only features with a value of 2 or 3 will be selected. If you define two constraints where the feature value must be equal to 4 and greater than or equal to 10, then only products with a feature value of 4 or a feature value greater than or equal to 10 will be selected.
- When you specify the Greater than or equal to, Less than or equal to, or Not equal to constraints, you create an "AND" relationship. For example, if you define two constraints where the feature value has to be greater than or equal to 5 and less than or equal to 10, then only products with a feature value between 5 and 10 will be selected. If you select Not equal to for the value 3 and Less than or equal to for the value 5, then only products with a feature value of 1, 2, 4 or 5 will be included.
- Each time you define a constraint, you reduce the number of products that are displayed to the customer. Each successive constraint applies only to the products that meet the criteria of the previous constraints and you will be able to select only those feature values that apply to those products. This applies whether you are working with a feature you have selected previously or with a different feature.