BonusActivated Property
The BonusActivated property indicates whether bonus is active (surfmiles).
Syntax
SiteCafe.Server.Config.BonusActivated [=bool]
|
Possible Values
Boolean value that specifies or retrieves the bonus status.
|
The property is read/write.
Remarks
If bonus is active, the user gets a bonus when he spent a specified amount.
Examples
The following example displays bonus information.
<SCRIPT TYPE="text/javascript">
window.external.InitScriptInterface();
if (SiteCafe.Server.Config.BonusActivated)
{
multiplier = SiteCafe.Server.Config.BonusMultiplier;
amount = SiteCafe.Server.Config.BonusAmount;
limit = SiteCafe.Server.Config.BonusLimit;
alert("Amount: " + (amount * multiplier));
alert("Limit: " + limit);
}
</SCRIPT>
|
Applies to
SiteKiosk v6.2 (and later versions).
Back to top