{assign var=meth value=':'|explode:$VAR._page}
{if $SESS_LOGGED != '1'}
{$block->display('account:user_login')}
{else}
{$method->exe('checkout','preview')}
{if ($method->result == false)}
{$block->display('core:method_error')}
{else}
{if $results == 0}
{t}Your cart is empty, please select one or more products to continue{/t}
{$block->display('product_cat:user_menu')}
{else}
{if $VAR.option != ''}
{$method->exe('checkout','checkoutoption')}
{if $plugin_template != false}
{$block->display($plugin_template)}
{/if}
{/if}
{t}Currency{/t} |
{$list->currency_list("cyid_arr")}
|
|
|
|
{if $smarty.const.SHOW_DISCOUNT_CODE == 1}
{/if}
|
{if $list->is_installed('affiliate') == 1 && $smarty.const.SHOW_AFFILIATE_CODE == 1}
{/if}
|
{t}To edit or remove items, click here.{/t}
{t}Click here to hide itemised list.{/t}
{foreach from=$cart item=cart}
{if $cart.cart_type == '2'}
{include file='file:../cart/cart_table_type_2.tpl' disable=true}
{elseif $cart.cart_type == "3"}
{include file='file:../cart/cart_table_type_3.tpl'}
{else}
{include file='file:../cart/cart_table_type_x.tpl' disable=true}
{/if}
{include file='file:../cart/cart_table_assoc.tpl'}
{/foreach}
{t}Click here for an itemised list of items in this purchase.{/t}
|
{t}Totals{/t} |
{t}Sub-Total{/t} |
{$list->format_currency_num($sub_total, $smarty.const.SESS_CURRENCY)} |
{foreach from=$discount item=discount}
{if $discount.total > 0}
{t}Discount{/t} ({$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}
{t}Total{/t} |
{$list->format_currency_num($total, $smarty.const.SESS_CURRENCY)} |
|
|
{/if}
{/if}