Dynamic Pricing capability with multi auto sales
As described in the Salesware Dynamic Pricing document, the Dynamic Pricing Rules HASMOD(), ISMOD() and SHAREMOD() can take a quantity argument. HASMOD(,,ADULT,>2) evaluates to TRUE if item nickname is ADULT and there are more than two of the modifiers.
The following Dynamic Pricing Rule could be used in the case where any more than two CHILD modifiers on a pass are charged $30 each per additional modifier after two are assigned:
IF(HASMOD(,,CHILD,>2),ADDPRICE( (COUNTMODS(,,CHILD)-2) * 30.0 ))
It is possible to control the number of modifiers of particular type that can be assigned a pass using the following Dynamic Pricing Rule:
IF(HASMOD(,,CHILD,>10),PREVENTUSE(No more than 10 children are allowed))
This rule is useful in enforcing the parameters of the particular pass/membership program in place so that operators don’t increase Max Qty above what is allowed for a particular program.
The following Dynamic Pricing Rule can force the choice of one modifier or another but not both at the same time. COMPARE() takes two arguments.
IF(COMPARE(COUNTMODS(,,ADULT) + COUNTMODS(,,CHILD),>1),PREVENTUSE(An Adult OR a Child can be selected as a modifier))