{if $payment_methods_count > 0 || $order_is_free}
{$msg.cart.select_payment_method}
{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}
{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}
{else}
{$msg.cart.no_payment_methods_available}
{lang msg=$msg.common.contact_admin e=$GlobalSupportEmail}
{/if}