DownloadPrice Property
The DownloadPrice property contains the price per download.
Syntax
[double=] SiteKiosk.Plugins("SiteCash").DownloadPrice
|
Possible Values
Double value that retrieves the price.
|
The property is read only.
Remarks
Examples
The following example determines whether downloads are charged and shows the price in an alert window.
<SCRIPT TYPE="text/javascript">
window.external.InitScriptInterface();
dloadPay = SiteKiosk.Plugins("SiteCash").PayDownloads;
dloadPrice = SiteKiosk.Plugins("SiteCash").DownloadPrice;
if (dloadPay) alert("Price per download: " + dloadPrice);
else alert("Downloads are for free");
</SCRIPT>
|
Applies to
SiteKiosk v6.0 (and later versions).
Back to top