{if $ordertype == 'global'}

{if $themesettings.orderform.opcnoheader}
{if $themesettings.general.enablelogo} {if $themesettings.general.darklogo} {else} {$companyname} {/if} {else} {$companyname} {/if}
{include file="$template/includes/breadcrumb.tpl"} {if $desc} {$desc} {/if}
{else}
{include file="$template/includes/pageheader.tpl" title=$displayTitle desc=$tagline showbreadcrumb=true}
{/if}

{$LANG.emptycart}
{if $domainorder == 'all'}

###### {$LANG.orderchooseapackage}

{foreach from=$products key=num item=product}

###### {$product.name}

{if $product.extra.freedomainpaymentterms !== ''} {assign var=freedomainpaymentterms value=$product.extra.freedomainpaymentterms } {/if} {if $product.extra.freedomaintlds !== ''} {assign var=freedomaintlds value=$product.extra.freedomaintlds } {/if} {if $product.extra.freedomaintlds !==''} {assign var=freedomainvar value=$product.extra.freedomain } {/if}
{/foreach}
{foreach from=$products key=num item=product}

{if $product.paytype eq 'onetime' || $product.paytype eq 'free' || $product.pricing|@count eq '0'} {else}
{foreach from=$product.pricing item=pricing} {if isset($smarty.get.billingcycle)} {$BACKCART['products'][0]['billingcycle'] = ""} {$pricing.checked = ""} {/if} {if $pricing.monthly}
{$LANG.orderpaymenttermmonthly} {$pricing.monthly}
{elseif $pricing.quarterly}
{$LANG.orderpaymenttermquarterly} {$pricing.quarterly} {if $pricing.savetext}{$pricing.savetext}{/if}
{elseif $pricing.semiannually}
{$LANG.orderpaymenttermsemiannually} {$pricing.semiannually} {if $pricing.savetext}{$pricing.savetext}{/if}
{elseif $pricing.annually}
{$LANG.orderpaymenttermannually} {$pricing.annually} {if $pricing.savetext}{$pricing.savetext}{/if}
{elseif $pricing.biennially}
{$LANG.orderpaymenttermbiennially} {$pricing.biennially} {if $pricing.savetext}{$pricing.savetext}{/if}
{elseif $pricing.triennially}
{$LANG.orderpaymenttermtriennially} {$pricing.triennially} {if $pricing.savetext}{$pricing.savetext}{/if}
{/if} {/foreach}
{/if} {/foreach}
{/if}
{if $CONFIG.AllowRegister == 'on' || $CONFIG.AllowTransfer == 'on' || $CONFIG.AllowOwnDomain == 'on'}

## {$LANG.cartproductdomainchoose}

{assign var=freedomaindisplay value='none' } {if $freedomainpaymentterms|strstr:$BACKCART['products'][0]['billingcycle']} {assign var=freedomaindisplay value='block' } {/if}

{if ($CONFIG.AllowRegister == 'on' || $CONFIG.AllowTransfer == 'on') && $freedomainvar}

Get a free 1 year {$LANG.orderdomainregonly} or {$LANG.orderdomaintransfer}

{if $freedomaintlds}

{$LANG.orderfreedomainappliesto}: {$freedomaintlds}

{/if}
{/if}

{if $CONFIG.AllowRegister !== 'on' || $CONFIG.AllowTransfer !== 'on'}
{if $CONFIG.AllowOwnDomain == 'on'} {$LANG.domaincheckerhostingonly} {/if}
{$LANG.cartexistingdomainchoice|sprintf2:$companyname}
www.
{else}

{if $CONFIG.AllowRegister == 'on'} {$LANG.navdomainsearch} {/if} {if $CONFIG.AllowTransfer == 'on'} {$LANG.domaintransfer} {/if} {if $domainorder == 'all'} {if $CONFIG.AllowOwnDomain == 'on'} {$LANG.domaincheckerhostingonly} {/if} {$LANG.orderusesubdomain} {/if}
{$LANG.cartsubdomainchoice|sprintf2:$companyname}
https://
{$LANG.cartregisterdomainchoice|sprintf2:$companyname}
{$LANG.carttransferdomainchoice|sprintf2:$companyname}
{$LANG.cartexistingdomainchoice|sprintf2:$companyname}
www.
{foreach from=$existingdomains item=edomain} {if !$edomain.domain} {continue} {/if}
{$edomain.domain} {$LANG.orderForm.domainAddedToCart}
{/foreach}
{lang key='orderForm.suggestedDomains'}
{lang key='orderForm.generatingSuggestions'}

- {lang key='domainCheckerSalesGroup.hot'} {lang key='domainCheckerSalesGroup.new'} {lang key='domainCheckerSalesGroup.sale'}

- {lang key='domainCheckerSalesGroup.hot'} {lang key='domainCheckerSalesGroup.new'} {lang key='domainCheckerSalesGroup.sale'}

{lang key='domainssuggestionswarnings'}

{/if}

## {$LANG.cartdomainsconfig}

{/if}
{$LANG.orderpromovalidatebutton} {$LANG.orderForm.remove}

{elseif $ordertype == 'domainrenewals'}

{if $themesettings.orderform.opcnoheader}
{if $themesettings.general.enablelogo} {if $themesettings.general.darklogo} {else} {$companyname} {/if} {else} {$companyname} {/if}
{include file="$template/includes/breadcrumb.tpl"} {if $desc} {$desc} {/if}
{else}

# {if count($renewals) > 1}{lang key='domainrenewals'}{else}{lang key='domainrenewal'}{/if} {if count($renewals) > 5}
{/if}

{/if}

{if count($renewals) == 0}
{lang key='domainRenewal.noDomains'}

{$LANG.orderForm.returnToClientArea}

{else}
{$LANG.emptycart}

{$LANG.domainrenewdesc}

{foreach from=$renewals item=renewal}

#### {$renewal.domain} {$renewal.status}

{if $renewal.daysuntilexpiry > 30} {$renewal.daysuntilexpiry} {$LANG.domainrenewalsdays} {elseif $renewal.daysuntilexpiry > 0} {$renewal.daysuntilexpiry} {$LANG.domainrenewalsdays} {else} {$renewal.daysuntilexpiry*-1} {$LANG.domainrenewalsdaysago} {/if} {if $renewal.ingraceperiod}
{$LANG.domainrenewalsingraceperiod} {/if}

{if $renewal.beforerenewlimit}

{$LANG.domainrenewalsbeforerenewlimit|sprintf2:$renewal.beforerenewlimitdays}

{elseif $renewal.pastgraceperiod}

{$LANG.domainrenewalspastgraceperiod}

{else}
{/if}
{foreachelse}
{$LANG.domainrenewalsnoneavailable}
{/foreach}
{$LANG.orderpromovalidatebutton} {$LANG.orderForm.remove}
{/if}

{elseif $ordertype == 'addons'}
{if $themesettings.orderform.opcnoheader}
{if $themesettings.general.enablelogo} {if $themesettings.general.darklogo} {else} {$companyname} {/if} {else} {$companyname} {/if}
{include file="$template/includes/breadcrumb.tpl"} {if $desc} {$desc} {/if}
{else}

# {$LANG.cartproductaddons}

{/if}

{if count($addons) == 0}
{$LANG.cartproductaddonsnone}

{$LANG.orderForm.returnToClientArea}

{else}
{$LANG.emptycart}
{foreach $addons as $num => $addon}

#### {$addon.name}

{if $product.qty} {$product.qty} {$LANG.orderavailable} {/if}

{$addon.description}

{if $num % 2 != 0}
{/if} {/foreach}
{$LANG.orderpromovalidatebutton} {$LANG.orderForm.remove}

{/if} {/if}

{if $stripejs}
{/if}