{if $payment_methods_count> 0}

{$msg.cart.select_payment_method}

{** FREE ORDER PAYMENT METHOD - START **} {** FREE ORDER PAYMENT METHOD - FINISH **} {** CUSTOM AND REALTIME PAYMENT METHODS - START **}

{$msg.cart.please_select_payment_method}

{if $enable_gift_cert == 'Yes'}
{/if}
{if $payment_methods_count> 1} {foreach name=pm from=$payment_methods key=pid item=payment_method} {** for now we are not including moneybookers in OPC **} {if !in_array($payment_method->id, array('moneybookers','moneybookersewallet','moneybookersacc'))}
type=="custom" || $shipping_is_free || $shipping_is_digital}opcSetPaymentMethod(){else}opcSetShippingAndPayment(1){/if}" name="select_payment_method" value="{$payment_method->pid}" {if $order->paymentMethodId == $payment_method->pid}checked="checked"{/if}/>
{/if} {/foreach} {else} {foreach name=pm from=$payment_methods key=pid item=payment_method} {/foreach} {/if}
{*** GIFT CERTIFICATE ***} {if $enable_gift_cert == 'Yes'} {/if} {*** GIFT CERTIFICATE ***}
{if $is_payment_error == "yes"}
{$payment_error_message}
{/if}
{if $start}{$msg.cart.please_select_payment_method}{else}Loading...{/if}
{** CUSTOM AND REALTIME PAYMENT METHODS - FINISH **} {else}
{$msg.cart.no_payment_methods_available}
{lang msg=$msg.common.contact_admin e=$GlobalSupportEmail}
{/if}