{if $payment_methods_count > 0}
{$msg.cart.select_payment_method} {** CUSTOM AND REALTIME PAYMENT METHODS - START **}
{** because of gift cert module {if $payment_methods_count > 1} **}
{if $enable_gift_cert == 'Yes'}
{/if}
{if $payment_methods_count > 1}
{$msg.cart.please_select_payment_method}
{foreach name=pm from=$payment_methods key=pid item=payment_method}
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}/>
{/foreach} {**
modified because of gift cert module **} {else} {foreach name=pm from=$payment_methods key=pid item=payment_method} {/foreach} {/if}
{if $is_payment_error == "yes"}
{$payment_error_message}
{/if}
{$msg.cart.please_select_payment_method}
{** CUSTOM AND REALTIME PAYMENT METHODS - FINISH **} {*** GIFT CERTIFICATE ***} {if $enable_gift_cert == 'Yes'} {/if} {*** GIFT CERTIFICATE ***} {** FREE ORDER PAYMENT METHOD - START **} {** FREE ORDER PAYMENT METHOD - FINISH **}
{else}
{$msg.cart.no_payment_methods_available}
{lang msg=$msg.common.contact_admin e=$GlobalSupportEmail}
{/if}