{assign var=meth value=':'|explode:$VAR._page}
{$block->display('core:top_clean')}
{$method->exe($meth.0,'admin_preview')}
{if ($method->result == false)}
{$block->display('core:method_error')}
{else}
{if $results == 0}
{translate module=cart}empty{/translate}
{else}
{if $SESS_LOGGED != "1"}
{ $block->display("account:user_login") }
{else}
{foreach from=$cart item=cart}
{if $cart.cart_type == "2"}
{$cart.domain_name|upper}
.
{$cart.domain_tld|upper}
|
|
{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}
|
{if $cart.cart_type == "1"}
{if $cart.host_type == "ns_transfer"}
{/if}
{if $cart.host_type == "ip"}
{/if}
{/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"}
|
{translate module=cart}
price_type
{/translate}
:
{translate module=cart}
price_type_one
{/translate}
|
{if $cart.cart_type == "1"}
{if $cart.host_type == "ns_transfer"}
{/if}
{if $cart.host_type == "ip"}
{/if}
{/if}
|
{translate module=cart}
base_price
{/translate}
|
{$list->format_currency_num($cart.price_base, $smarty.const.SESS_CURRENCY)}
|
{translate module=cart}
quantity
{/translate}
|
{$cart.quantity}
|
|
|
{else}
{if $list->translate("product_translate","name", "product_id", $cart.product_id, "translate_product")}
{/if}
{$translate_product.name}
|
|
{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}
|
{if $cart.service_id != "" && $cart.service_id > 0}
{translate module=cart service=$cart.service_id}
service_upgrade
{/translate}
|
{/if}
{if $cart.cart_type == "1"}
{if $cart.host_type == "ns_transfer"}
{translate module=cart}
host_type_domain
{/translate}
-
{$cart.domain_name}
.
{$cart.domain_tld}
|
{/if}
{if $cart.host_type == "ip"}
{translate module=cart}
host_type_ip
{/translate}
|
{/if}
{/if}
{if $cart.attr}
{$cart.attr} |
{/if}
|
{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}
|
{$cart.quantity}
|
|
|
{/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")}
|
|
|
|
{translate module=checkout}
totals
{/translate}
|
{translate module=cart}
subtotal
{/translate}
|
{$list->format_currency_num($sub_total, $smarty.const.SESS_CURRENCY)}
|
{foreach from=$discount item=discount}
{if $discount.total > 0}
{translate module=cart}
discount
{/translate}
(
{$discount.name}
) |
{$list->format_currency_num($discount.total, $smarty.const.SESS_CURRENCY)}
|
{/if}
{/foreach}
{if $tax != false}
{foreach from=$tax item=tax }
{$tax.name}
|
{$list->format_currency_num($tax.rate, $smarty.const.SESS_CURRENCY)}
|
{/foreach}
{/if}
{translate module=cart}
total
{/translate}
|
{$list->format_currency_num($total, $smarty.const.SESS_CURRENCY)}
|
|
|
{if $VAR.option!=''}{$method->exe("checkout","checkoutoption")}{if $plugin_template != false}{$block->display($plugin_template)}{/if}{/if}