{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}

View More Payment Options

{t}Please Select Your Preferred Payment Option{/t}
{if $checkout} {foreach from=$checkout item=checkout key=key} {/foreach} {else} {/if}
{if $checkout.fields.graphic_url==''}{$checkout.fields.name}{else}{$checkout.fields.name}{/if} {$checkout.fields.description}
{t}Sorry, no online payment option has been defined for this order type. Please contact customer service for ordering details.{/t}

{if $VAR.option=='' && $checkout_c == 1} {elseif $VAR.option>0} {/if} {/if}
{t}Currency{/t}
{$list->currency_list("cyid_arr")}
{if $smarty.const.SHOW_DISCOUNT_CODE == 1}
{t}Discounts{/t}
{/if}
{if $list->is_installed('affiliate') == 1 && $smarty.const.SHOW_AFFILIATE_CODE == 1}
{t}Affiliate{/t}
{/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}
{foreach from=$discount item=discount} {if $discount.total > 0} {/if} {/foreach} {if $tax != false} {foreach from=$tax item=tax } {/foreach} {/if}
{t}Sub-Total{/t} {$list->format_currency_num($sub_total, $smarty.const.SESS_CURRENCY)}
{t}Discount{/t} ({$discount.name}) - {$list->format_currency_num($discount.total, $smarty.const.SESS_CURRENCY)}
{$tax.name} {$list->format_currency_num($tax.rate, $smarty.const.SESS_CURRENCY)}
{t}Total{/t} {$list->format_currency_num($total, $smarty.const.SESS_CURRENCY)}
{/if} {/if}