[insert_php]
/**
* Created by PhpStorm.
* User: sfaust
* Date: 11/8/2017
* Time: 9:02 AM
*/

wp_redirect(‘https://revolutiondesign.biz/purchase.php’, 302);
exit;

include ‘../priceinfo.php’;
include ‘../coms/cloud/AwsInterface.php’;
include_once ‘../PaymentApp/Classes.php’;
require ‘../AWS/aws-autoloader.php’;

//print_r($_POST);
//store the sales id if we have one
if (isset($_GET[‘sid’]) && $_GET[‘sid’] != ”) {
setcookie(‘sid’, $_GET[‘sid’], 30);
}

//Get the current cart and coupon
$cart = Cart::GetCart();
$coupon = null;
$couponNotFound = false;
$cloudError = null;

if (isset($_GET[‘cc’]) && $_GET[‘cc’] != ”) {
$coupon = Coupon::GetCoupon($_GET[‘cc’]);
if ($coupon == null) {
$couponNotFound = true;
} else {
setcookie(‘coupon’, $_GET[‘cc’]);
}
}

//If it’s a post we are modifying the cart somehow
if ($_POST) {
//Item code tells us what we are doing
$code = $_POST[‘itemCode’];

if ($code == ‘coupon’) {
//Adding a coupon, attempt to get it from the codes file
$coupon = Coupon::GetCoupon($_POST[‘coupon’]);
if ($coupon == null) {
$couponNotFound = true;
} else {
setcookie(‘coupon’, $_POST[‘coupon’]);
}
} else if ($code == ‘clear’) {
//We are clearing the cart, No restocking fee… this time…**evil laugh**
setcookie(‘cart’, ”);
$cart = array();
} else {
//We are adding an item to the cart, construct a cart item
$newItem = new CartItem();
$newItem->Name = $_POST[‘itemCode’];
$newItem->Quantity = $_POST[‘qty’];
$newItem->Options = array();

//item specific options
switch ($newItem->Name) {
case “KM”:
$newItem->Options[‘product’] = $_POST[‘itemName’];
$newItem->Options[‘license’] = $_POST[‘licenseType’];
break;
case “Cloud”:
//Make sure it’s not an existing company
$company = $_POST[‘company’];
$awsCompany = AwsInterface::GetCompanyByName($company);

if ($awsCompany == null) {
$newItem->Options[‘period’] = $_POST[‘itemName’];
$newItem->Options[‘duration’] = $_POST[‘duration’];
$newItem->Options[‘company’] = $_POST[‘company’];
} else {
$cloudError = ‘Company name already exists. To renew your existing license please visit the
Upgrade/Renew page’;
$newItem = null;
}
break;
case “WF”:
$newItem->Options[‘type’] = $_POST[‘itemName’];
$newItem->Options[‘license’] = $_POST[‘licenseType’];

if ($_POST[‘itemName’] == $product3a) {
$commands = ”;
for ($i = 1; $i < 9; $i++) { if (isset($_POST[‘wFprod’ . $i]) && $_POST[‘wFprod’ . $i] == ‘on’) { $commands .= $i; } } $newItem->Options[‘commands’] = $commands;
}
break;
case “SM”:
$newItem->Options[‘license’] = $_POST[‘licenseType’];
break;
}

//Add the new item to the cart and save the cart
if ($newItem != null) {
$cart[] = $newItem;
Cart::SaveCart($cart);
}
}
}

//Try to get the coupon from cookies if we don’t have it yet
if ($coupon == null && $couponNotFound != true && isset($_COOKIE[‘coupon’])) {
$coupon = Coupon::GetCoupon($_COOKIE[‘coupon’]);
}

//Initialize calculation variables
$subtotal = 0;
$volumeDiscount = 0;
$volumeDiscountPercent = ”;
$couponDiscount = 0;
$couponDiscountPercent = ”;
$couponDiscountDescription = ”;
$total = 0;

//Variables to build the html for items inside the cart
$itemDetail = ”;
$detailTemplate = ‘

**quantity****name****price**

‘;
$optionsTemplate = ‘

**options**

‘;

//iterate cart items and add subtotal and construct html
foreach ($cart as $item) {
$nameText = $item->GetDisplayName();
$optionText = $item->GetOptionDisplay();
$priceVal = round($item->GetPrice() * $item->Quantity, 2);

$subtotal += $priceVal;

//Build the main row and add to the full html
$row = $detailTemplate;
$row = str_replace(‘**quantity**’, $item->Quantity, $row);
$row = str_replace(‘**name**’, $nameText, $row);
$row = str_replace(‘**price**’, ‘$’ . number_format($priceVal, 2), $row);

$itemDetail .= $row;

//Build the options row and add to the full html
$options = str_replace(‘**options**’, $optionText, $optionsTemplate);
$itemDetail .= $options;
}

//Add another row with base underline for the bottom of the detail section
$itemDetail .= ‘

 

‘;

//Remove the coupon discount if we have one.
if ($coupon != null) {
$couponDiscountDescription = $coupon->Description;
if ($coupon->Rate > 1) {
$couponDiscount = $coupon->Rate;
$couponDiscountPercent = ”;
} else {
$couponDiscount = $coupon->Rate * $subtotal;
$couponDiscountPercent = $coupon->RateText;
}
}

//Start the total calculation by removing coupon discount from subtotal
$total = $subtotal – $couponDiscount;

//Calculate the volume discount and remove from the total for final value
$volumeDiscountNum = PaymentCalculator::GetVolumeDiscount($total);
$volumeDiscountPercent = number_format(($volumeDiscountNum * 100)) . ‘%’;
$volumeDiscount = $total * $volumeDiscountNum;

$total = $total – $volumeDiscount;
[/insert_php]

For proper function of the purchase page,Please enable JavaScript

To purchase licenses, please fill out the quantity of licenses and select the options you would like below and select ‘Buy Now’. If you already have an activation key and would like to add additional licenses to your existing key you can go to the upgrades page or contact us.

Purchase Options

Keynote Manager

Keynote Manager
Quantity:
Options:

[insert_php] echo $product1b; [/insert_php]
$[insert_php] echo $price1b; [/insert_php] / seat Help

[insert_php] echo $product1a; [/insert_php]
$[insert_php] echo $price1a; [/insert_php] / seat
Help
>”
style=”width: 100%”
name=”submit”/>
Cloud Services

Cloud Services
Help
Quantity:
Options:

[insert_php] echo $cloudProduct1; [/insert_php]
$[insert_php] echo $cloudPrice1; [/insert_php] / year Help

[insert_php] echo $cloudProduct2; [/insert_php]
$[insert_php] echo $cloudPrice2; [/insert_php] / month
Duration:
Help
Company:
Help
>”
style=”width: 100%”
name=”submit”/>
[insert_php] if ($cloudError != null) echo $cloudError [/insert_php]
Important Important Important
Cloud projects can be edited in Keynote Manager Basic.
However Keynote Manager Plus is required for Revit to be
able to use and understand cloud projects.
Revit workFlow

Revit workFlow
Quantity:
Options:

[insert_php] echo $product3b; [/insert_php]
$[insert_php] echo $price3b; [/insert_php] / seat

[insert_php] echo $product3a; [/insert_php]
/ seat
Select any 4 and
receive [insert_php] echo $wFbundlediscText [/insert_php]
off!
[insert_php] echo $wFproduct8; [/insert_php] $[insert_php] echo $wFprice8; [/insert_php]
[insert_php] echo $wFproduct1; [/insert_php] $[insert_php] echo $wFprice1; [/insert_php]
[insert_php] echo $wFproduct5; [/insert_php] $[insert_php] echo $wFprice5; [/insert_php]
[insert_php] echo $wFproduct3; [/insert_php] $[insert_php] echo $wFprice3; [/insert_php]
[insert_php] echo $wFproduct6; [/insert_php] $[insert_php] echo $wFprice6; [/insert_php]
[insert_php] echo $wFproduct7; [/insert_php] $[insert_php] echo $wFprice7; [/insert_php]
[insert_php] echo $wFproduct2; [/insert_php] $[insert_php] echo $wFprice2; [/insert_php]
[insert_php] echo $wFproduct4; [/insert_php] $[insert_php] echo $wFprice4; [/insert_php]
Help
>”
style=”width: 100%”
name=”submit”/>
Selection Master

[insert_php] echo $product2a; [/insert_php]
Quantity:
Options:
Base Price $[insert_php] echo $price2a; [/insert_php] / seat
Help
>”
style=”width: 100%”
name=”submit”/>
[insert_php] echo $itemDetail [/insert_php][insert_php] if ($couponDiscount > 0) { [/insert_php][insert_php] }
if ($volumeDiscount > 0) { [/insert_php][insert_php] } [/insert_php]

Cart
Qty Software Title Cost
Subtotal [insert_php] echo ‘$’ . number_format($subtotal, 2) [/insert_php]
[insert_php] echo $couponDiscountPercent [/insert_php] [insert_php] echo $couponDiscountDescription [/insert_php] [insert_php] echo ‘$’ . number_format($couponDiscount, 2) [/insert_php]
[insert_php] echo $volumeDiscountPercent [/insert_php] Volume Discount [insert_php] echo ‘$’ . number_format($volumeDiscount, 2) [/insert_php]
Total [insert_php] echo ‘$’ . number_format($total, 2) [/insert_php]
Coupons

Code; else echo ‘Coupon Code’; [/insert_php]”
style=”color:#808080″>

[insert_php] if (isset($_COOKIE[‘sid’]) && $_COOKIE[“sid”] != “”)
echo ”; [/insert_php]

Customer Information
First Name: Last Name: Email:

Subscribe to Mailing List
Keynote Manager

Revit workFlow

Selection Master


Generate a Printable Invoice
Use this link if you prefer to purchase with a paper check.
An invoice will be generated for you with the items in your cart. Simply print the invoice and send the invoice and check back to the address on the invoice.

 

Volume Discounts

Revolution Design offers volume discounts based on the total price of your order. This allows the user to create custom bundles and receive discounts in proportion to the total amount of the purchase. Discounts are given as follows:

Subtotal Amount: $[insert_php] echo $discount1start; [/insert_php] $[insert_php] echo $discount2start; [/insert_php] $[insert_php] echo $discount3start; [/insert_php] $[insert_php] echo $discount4start; [/insert_php] $[insert_php] echo $discount5start; [/insert_php] $[insert_php] echo $discount6start; [/insert_php]
Discount: [insert_php] echo $discount1text; [/insert_php] [insert_php] echo $discount2text; [/insert_php] [insert_php] echo $discount3text; [/insert_php] [insert_php] echo $discount4text; [/insert_php] [insert_php] echo $discount5text; [/insert_php] [insert_php] echo $discount6text; [/insert_php]

What About Subscription?

Software subscriptions must be maintained on a yearly basis to remain up to date. Yearly renewal prices are equal to 65% of the current price of the software at the time of renewal.

Additional Information

Subscription

Subscription allows access to all updates and new releases within the subscription period; after the subscription period expires your license will still be active but you will not receive any further updates of any kind.

All licenses include a 12 month subscription that entitles the holder to all updates of any kind released during the subscription period at no charge. One license allows use of the purchased software on all supported versions of Revit simultaneously on a valid licensed machine. This means that a single license allows use of Revit workFlow for Revit 2013, 2014, 2015, AND any future versions released during your subscription period.

Deployments & Silent Licensing

*Note that all Revolution Design software has been designed to allow large deployments of both settings and licensing with ease. For more information please click here.