Dynamic Pricing : Basic concepts : Example:
 
Example:
Enabling functionality in order that the user must select at least one ADULT or SENIOR modifier using the new HASMODS(D,C,I) condition:
 
IF(COMPARE(HASMODS(),>0),
IF(COMPARE(HASMODS(,,ADULT)+HASMODS(,,SENIOR),1-2),,PREVENTUSE()))
 
This rule is assigned to the main Family Pass package item. If the item does not have at least one ADULT or SENIOR modifier, then the PREVENTUSE() function kicks in.