{$method->exe("cart","view")} {if ($method->result == FALSE)} {$block->display("core:method_error")} {else} {if $results <= 0} {translate module=cart} empty {/translate}

{$block->display("product:cat")} {else} {literal} {/literal} {foreach from=$cart item=cart}
{if $cart.cart_type == "2"}
{if $cart.cart_type == "1"} {if $cart.host_type == "ns_transfer"} {/if} {if $cart.host_type == "ip"} {/if} {/if}
{$cart.domain_name|upper}.{$cart.domain_tld|upper}   Remove from Cart
   {if $cart.host_type == "register"} {translate module=cart} register {/translate} {elseif $cart.host_type == "transfer"} {translate module=cart} transfer {/translate} {elseif $cart.host_type == "park"} {translate module=cart} park {/translate} {/if}
{translate module=cart} base_price {/translate}
{$list->format_currency_num($cart.price, $smarty.const.SESS_CURRENCY)}
{if $cart.host_type == 'register'} {/if}
{elseif $cart.cart_type == "3"}
{if $cart.cart_type == "1"} {if $cart.host_type == "ns_transfer"} {/if} {if $cart.host_type == "ip"} {/if} {/if}
{$cart.ad_hoc_name}
   {translate module=cart} price_type {/translate} : {translate module=cart} price_type_one {/translate}
{translate module=cart} base_price {/translate}
{$list->format_currency_num($cart.price_base, $smarty.const.SESS_CURRENCY)}
{translate module=cart} quantity {/translate}
{else}
{if $cart.service_id > 0} {/if} {if $cart.cart_type == "1"} {if $cart.host_type == "ns_transfer"} {/if} {if $cart.host_type == "ip"} {/if} {/if} {if $cart.attr} {/if}
{if $list->translate("product_translate","name", "product_id", $cart.product_id, "translate_product")} {/if} {$translate_product.name} Remove from Cart
   {translate module=cart} price_type {/translate} : {if $cart.product.price_type == "0"} {translate module=cart} price_type_one {/translate} {/if} {if $cart.product.price_type == "1"} {translate module=cart} price_type_recurr {/translate} {/if} {if $cart.product.price_type == "2"} {translate module=cart} price_type_trial {/translate} {/if}
{if $cart.product.price_type == "1"}    {/if}
   {translate module=cart service=$cart.service_id} service_upgrade {/translate}
   {translate module=cart} host_type_domain {/translate} - {$cart.domain_name}.{$cart.domain_tld}
   {translate module=cart} host_type_ip {/translate}
{$cart.attr}
{translate module=cart} base_price {/translate}
{$list->format_currency_num($cart.price_base, $smarty.const.SESS_CURRENCY)}
{translate module=cart} setup_price {/translate}
{$list->format_currency_num($cart.price_setup, $smarty.const.SESS_CURRENCY)}
{translate module=cart} quantity {/translate}
0 }disabled{/if} />
{/if}
{foreach from=$cart.assoc item=cart_assoc}
{$cart_assoc.domain_name|upper} . {$cart_assoc.domain_tld|upper}  
   {if $cart_assoc.host_type == "register"} {translate module=cart} host_type_register {/translate} {elseif $cart_assoc.host_type == "transfer"} {translate module=cart} host_type_transfer {/translate} {elseif $cart_assoc.host_type == "park"} {translate module=cart} host_type_park {/translate} {/if} {$cart.product.sku}
{translate module=cart} base_price {/translate}
{$list->format_currency_num($cart_assoc.price, $smarty.const.SESS_CURRENCY)}
{if $cart_assoc.host_type == 'register'} {/if}

{/foreach}
{/foreach}
{translate} currency {/translate}
{literal} {/literal} {$list->currency_list("cyid_arr")}
{/if} {/if}