To restrict when the promotion will be applied, criteria can be defined. When defining criteria against basket attributes, an attribute must be selected and then one or more values for that attribute.
Select the attribute which will be used for the criteria. Basket attributes are provided with the basket validation XML, and are XML attributes within the document element. The name of the XML attribute is defined against the attribute definition - please see the All Attributes List
Indicate the source of the required value(s), by selecting one of the following options:
- Select from existing values
A list of existing values will be presented.
- Empty or missing value
Validate for the attribute containing an empty value, or where the attribute does not exist in the basket being validated.
- Custom Value
Enter the required value
- Upload values from file
Specify a file to import the values from. The file must be a text file containing values, where each value is on a new line. All values in the file will be uploaded.
Indicate whether the criteria should be validated as an Include
criteria, please select the required option. When criteria are being validated for a promotion, all Include
criteria are required to be matched for the promotion to be applied. If any Exclude
criteria is matched, the promotion will not be applied.
Select one or more value to be validated for this attribute. Where multiple values are selected for this attribute, the criteria will be regarded as valid if any value is matched.