{include file="$template/includes/pageheader.tpl" title="HostArmada Product Cart" desc="Start your improved Web Hosting Experience!" icon=cart} {include file="orderforms/$carttpl/cart-header.tpl" title=$LANG.step1 desc=$LANG.step1desc step=3} {literal} {/literal}
{if $errormessage}
{$errormessage|replace:'
  • ':'  #  '}  # 
  • {elseif $promotioncode && $rawdiscount eq "0.00"}
    {$LANG.promoappliedbutnodiscount}
    {/if} {if $bundlewarnings}
    {$LANG.bundlereqsnotmet}
    {foreach from=$bundlewarnings item=warning} {$warning}
    {/foreach}
    {/if} {if !$loggedin && $currencies}
    {foreach from=$currencies item=curr} {$curr.code} {/foreach}
    {/if}
    {if $cartitems == 0}

    Oops, your shopping cart appears to be empty...

    Add Hosting Add Domain Main Website
    {else}
    {if $cartitems!=0}

    {$LANG.yourdetails}

    {if !$loggedin && $custtype neq "existing"}
    {$LANG.newcustomer}
    {$LANG.existingcustomer}
    {/if}

    Contact Information

    {if $loggedin}
    {$clientsdetails.firstname}
    {else} {/if}
    {if $loggedin}
    {$clientsdetails.lastname}
    {else} {/if}
    {if $loggedin}
    {$clientsdetails.email}
    {else} {/if}
    {if $loggedin}
    {$clientsdetails.companyname}
    {else} {/if}
    {if $loggedin}
    {$clientsdetails.phonenumber}
    {else} {/if}
    {if !$loggedin}
    {include file="$template/includes/pwstrength.tpl"}
    {/if}

    Billing Information

    {if $loggedin}
    {$clientsdetails.country}
    {else} {/if}
    {if $loggedin}
    {$clientsdetails.state}
    {else} {/if}
    {if $loggedin}
    {$clientsdetails.city}
    {else} {/if}
    {if $loggedin}
    {$clientsdetails.postcode}
    {else} {/if}
    {if $loggedin}
    {$clientsdetails.address1}
    {else} {/if}
    {if $loggedin}
    {$clientsdetails.address2}
    {else} {/if}
    {if $customfields} {foreach from=$customfields key=num item=customfield}
    {$customfield.input} {$customfield.description}
    {/foreach} {/if}
    {if $shownotesfield}

    {$LANG.ordernotes}

    {/if}
    {if $securityquestions && !$loggedin}

    {$LANG.clientareasecurityquestion}:

    {/if} {if $taxenabled && !$loggedin}
    {$LANG.carttaxupdateselections}
    {/if} {/if}

    Order Summary

    {foreach key=num item=product from=$products}
    {if $product.productinfo.groupname|strstr:"Shared"} {elseif $product.productinfo.groupname|strstr:"VPS"} {elseif $product.productinfo.groupname|strstr:"Dedicated"} {else} {/if}

    {$product.productinfo.name} - {$product.domain}

    {$product.productinfo.groupname}

    {if $product.configoptions} {foreach key=confnum item=configoption from=$product.configoptions} {$configoption.name}: {if $configoption.type eq 1 || $configoption.type eq 2}{$configoption.option}{elseif $configoption.type eq 3}{if $configoption.qty}{$LANG.yes}{else}{$LANG.no}{/if}{elseif $configoption.type eq 4}{$configoption.qty} x {$configoption.option}{/if}
    {/foreach} {/if}

    {$product.pricingtext}{if $product.proratadate}
    ({$LANG.orderprorata} {$product.proratadate}){/if}

    {if $product.productinfo.groupname|strstr:"Shared"}

    Shared Hosting

    {elseif $product.productinfo.groupname|strstr:"VPS"}

    Cloud SSD VPS

    {elseif $product.productinfo.groupname|strstr:"Dedicated"}

    Dedicatred Server

    {else}

    Shared Hosting

    {/if}
    {if $product.addons}

    Addon Boosters

    {foreach from=$product.addons item=addon}

    {$addon.name}

    {$addon.recurring}

    {/foreach} {/if}

    {/foreach} {if $addons} {foreach $addons as $num => $addon}

    {$addon.name} for
    {$addon.productname} {$addon.domainname}

    {$addon.pricingtext}

    {$addon.billingcyclefriendly}
    {/foreach}
    {/if} {foreach key=num item=domain from=$domains} {if $domain.type == "register"} {assign "period" $domain.regperiod} {if $domain['pricing'][$period]['register']} {if $domain['pricing'][$period]['register']|replace:'$':'' > $domain.price|replace:'$':''} {assign "freeDomain" 1} {elseif $domain['pricing'][$period]['register']|replace:'$':'' < $domain.price|replace:'$':''} {assign "freeDomain" 0} {else} {assign "freeDomain" 2} {/if} {/if} {/if}

    Domain {if $domain.type eq "register"} Registration {else} Transfer {/if}

    {if $domain.type eq "register"} Registration {else} Transfer {/if} {$domain.domain}

    Period: {$domain.regperiod} {$LANG.orderyears}
    {debug} {if $freeDomain == 1} FREE {elseif $freeDomain == 0 } {$domain['pricing'][$period]['register']} {elseif $freeDomain == 2 } Error! {/if}

    Domain Addons

    {if $domain.idprotection} {$LANG.domainidprotection}
    {/if} Edit Addons
    {if $domain.idprotection} $3.95 {/if}

    {/foreach} {foreach key=num item=domain from=$renewals}
    {$LANG.domainrenewal}
    Domain: {$domain.domain}
    Period: {$domain.regperiod} {$LANG.orderyears}
    {if $domain.idprotection} » {$LANG.domainidprotection}
    {/if} [{$LANG.cartconfigdomainextras}]
    {$domain.price}

    {/foreach} {if $cartitems == 0}
    {$LANG.cartempty}
    {/if} {if $taxrate}

    {$taxname} @ {$taxrate}%:

    {$taxtotal}

    {/if}

    {$LANG.ordersubtotal}: {$subtotal}

    {foreach from=$gatewaysoutput item=gatewayoutput}
    {$gatewayoutput}
    {/foreach}

    {$LANG.orderpromotioncode}

    If you have been provided with a valid promotional code, please insert it in the field below to receive a discount!

    {if $promotioncode}
    {$promotioncode} - {$promotiondescription}
    {else}
    {/if}
    {if $promotioncode}

    Discount from order: -{$discount}

    {/if}

    {$LANG.ordertotalduetoday}: {$total}

    Payment Method

    Please choose the payment method you would like to use for this order.

    {foreach $gateways as $gateway}
    {/foreach}
    {if $client} {assign "existingCards" $client->payMethods->validateGateways()->sortByExpiryDate()}
    count() == 0}style="display: none" {/if}> {foreach $existingCards as $payMethod} {assign "payMethodExpired" 0} {assign "expiryDate" ""} {if $payMethod->isCreditCard()} {if ($payMethod->payment->isExpired())} {assign "payMethodExpired" 1} {/if} {if $payMethod->payment->getExpiryDate()} {assign "expiryDate" $payMethod->payment->getExpiryDate()->format('m/Y')} {/if} {/if}
    {if $payMethod->isCreditCard()} {$payMethod->payment->getDisplayName()} {else} {$payMethod->payment->getAccountType()} {substr($payMethod->payment->getAccountNumber(), -4)} {/if}
    {$payMethod->getDescription()}
    {$expiryDate}{if $payMethodExpired}
    {$LANG.clientareaexpired} {/if}
    {/foreach}
    {/if}
    count() > 0}style="display: none" {/if}>
    {if $showccissuestart}
    {/if} {if $shownostore}
    {/if}
    {if $showMarketingEmailOptIn}

    {lang key='emailMarketing.joinOurMailingList'}

    {$marketingEmailOptInMessage}

    {/if} {if $accepttos}

    {/if} {if $captcha}
    {include file="$template/includes/captcha.tpl"}
    {/if}
    {if $servedOverSsl}
    Secure Transaction  {$LANG.ordersecure} ({$ipaddress}) {$LANG.ordersecure2}
    {/if}
    {/if}