4.3 ww.dll API Reference : API descriptions : Functions with database access : setspecialprice
 
setspecialprice
 
Description
Support was added to the ww.dll for Dynamic Special Rules. These rules can be assigned to a special and processed using all the conditions of the Dynamic Pricing Interface (DOW, TSPAN, etc.). There are currently only a few value actions.
 
Note: The Dynamic Specials calculate once for a line item (and not per day like Dynamic Pricing Rules). For more information on Dynamic Specials see Dynamic Pricing based on Specials (Dynamic Specials).
 
Input fields
 
XML tag
Description
<finalprice>
The amount associated with the special
 
Sample Rule this supports:
IF(DOW(FRI),SETSPECIAL(50),SETSPECIAL(10))
IF(DOW(SAT), SETSPECIALPRICE(2.00))
 
This illustrates 10% off, 50% off on Fridays and a set price of $2.00 on Saturdays.
 
See also
setspecial