{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'}
Use a Gift Certificate
{/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}/>
{$payment_method->name}
{/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'}
Use a Gift Certificate
{include file="one-page-checkout/form-gift-certificate.html"}
{/if} {*** GIFT CERTIFICATE ***} {** FREE ORDER PAYMENT METHOD - START **}
{$free_payment_method->title|htmlspecialchars}
{if $free_payment_method->message_payment != ""}
{$free_payment_method->message_payment}
{/if}
{if $auth_express == "yes" && $DisplayTermsAndConditionsCheckbox == "Yes"}
{$msg.account.register_agree_policy}
[
{$msg.account.register_view_policy}
]
{/if}
{** FREE ORDER PAYMENT METHOD - FINISH **}
{else}
{$msg.cart.no_payment_methods_available}
{lang msg=$msg.common.contact_admin e=$GlobalSupportEmail}
{/if}