{***********************************************************} {** SELECT PAYMENT METHOD WHEN HERE MORE AS ONE AVAILABLE **} {if $payment_methods_count > 1}
{$msg.cart.please_select_payment_method} :
{assign var="is_pm_selected" value=false} {foreach from=$payment_methods key=pid item=payment_method}
pid}checked="checked"{/if} value="{$payment_method->pid}" id="pm_{$payment_method->pid}" onclick="setPaymentMethod('{$payment_method->pid}')"/>
{assign var="is_pm_selected" value=true} {/foreach}
{/if} {************************************************} {** MAKE PAYMENT FORMS FOR EACH PAYMENT METHOD **} {foreach from=$payment_methods key=pid item=payment_method} {***********************************} {** JAVASCRIPT VALIDATOR FOR FORM **} {*************************} {** PAYMENT FORM ITSELF **}
pid}style="display:none;"{/if} class="formContent" id="frmPayment{$payment_method->pid}" name="frmPayment{$payment_method->pid}">
{$payment_method->title|htmlspecialchars}
{if $payment_method->message_payment != ""}
{$payment_method->message_payment}
{/if} {if $payment_method->type == "custom"} {else} {if $is_payment_error && $active_payment_method == $payment_method->pid}
{$payment_error_message}
{/if} {if $payment_method->gateway->testMode}
{$msg.cart.gateway_in_test_mode}
{/if} {if $payment_method->gateway->payment_form} {foreach from=$payment_method->gateway->payment_form item="field"} {if $field.type == "separator"}
 
{$field.caption}
{/if} {if $field.type == "hidden"} {/if} {if $field.type == "text"}
{$field.caption} :
{if $field.name=="form[check_bank_aba_code]" || $field.name=="form[check_bank_account_number]"} What is this? {/if} {if $field.hint != ""}
{$field.hint}
{/if}
{/if} {if $field.type == "select"} {if $field.name == "form[cc_expiration_year]" || $field.name == "form[cc_expiration_month]"} {if $field.name == "form[cc_expiration_month]"}
{$field.caption} :
{assign var="field" value=$payment_method->gateway->payment_form.cc_expiration_year} {if $field.hint != ""}
{$field.hint}
{/if}
{/if} {else}
{$field.caption} :
{if $field.hint != ""}
{$field.hint}
{/if}
{/if} {/if} {/foreach} {if $payment_method->type == "cc"}
{$msg.cart.cvv2_note} {$msg.common.more_info}
{/if} {/if} {/if} {*******************************************} {** CHECKBOX - AGREE TERMS AND CONDITIONS **} {if $auth_express == "yes" && !$is_payment_error}

[{$msg.account.register_view_policy}]
{/if} {*********************} {** DISPLAY BUTTONS **}
{if $payment_method->type != "custom"} {if $payment_method->type == "cc"}

{$msg.cart.process_timeout_note} {/if} {else} {/if}
{/foreach} {** BILLING AND SHIPPING ADDRESS / CUSTOM FIELDS AND GIFT MESSAGE**}
{$msg.billing.billing_address}
{$billing_address.fname|htmlspecialchars} {$billing_address.lname|htmlspecialchars}
{$billing_address.address1|htmlspecialchars}, {$billing_address.address2|htmlspecialchars}
{$billing_address.city|htmlspecialchars}, {$billing_address.province|htmlspecialchars}
{$billing_address.country_name|htmlspecialchars}, {$billing_address.zip|htmlspecialchars} {if $cf_billing} {foreach from=$cf_billing item="cfield"}
{$cfield.field_caption|htmlspecialchars} : {$cfield.value_translated|htmlspecialchars} {/foreach} {/if}
{$msg.shipping.shipping_address}
{if !$order->shippingDigital} {$shipping_address.name|htmlspecialchars}
{$shipping_address.address1|htmlspecialchars}, {$shipping_address.address2|htmlspecialchars}
{$shipping_address.city|htmlspecialchars}, {if $shipping_address.state_id>0}{$shipping_address.state|htmlspecialchars}{else}{$shipping_address.province|htmlspecialchars}{/if}
{$shipping_address.country|htmlspecialchars}, {$shipping_address.zip|htmlspecialchars} {if $cf_shipping} {foreach from=$cf_shipping item="cfield"}
{$cfield.field_caption|htmlspecialchars} : {$cfield.value_translated|htmlspecialchars} {/foreach} {/if} {else} {$msg.shipping.no_shipping_informatio_available}
{$msg.shipping.digital_download} {/if}
{** FORM CONTENT START **}
{$msg.cart.order_content}
{foreach from=$order_items item="order_item"} {/foreach} {** subtotal **} {** discount **} {if $order->discountAmount > 0} {/if} {** promo **} {if $order->promoDiscountType != "none" && $order->promoDiscountAmount > 0} {/if} {** handling **} {if $order->handlingSeparated && $order->handlingAmount > 0} {/if} {** shipping **} {if $ShippingCalcEnabled == "YES"} {/if} {** tax **} {** total **}
{$msg.product.product_name} {$msg.product.product_price} {$msg.product.product_quantity} {$msg.cart.total}
{$order_item.title|htmlspecialchars} {$order_item.product_price|price} {if $order_item.is_taxable == "No"}
({$msg.cart.not_taxable}) {else}
{$msg.cart.tax_rate}: {if $order_item.tax_description != ""} {$order_item.tax_description} {else} {math equation="round(x,2)" x=$order_item.tax_rate format="%0.2f"}% {/if} {if $DisplayPricesWithTax=="YES"} - {$msg.cart.included_in_price}{/if} {/if}
{$order_item.quantity} {$order_item.product_total|price}
{$msg.cart.subtotal_amount} : {if $DisplayPricesWithTax == "YES"}{$order->subtotalAmountWithTax|price}{else}{$order->subtotalAmount|price}{/if}
{$msg.cart.discount_amount} {** {if $order->discountType == "percent"} (-{$order->discountValue|smartround}%) {/if} **} : {if $order->discountAmount > 0}-{/if} {$order->discountAmount|price}
{$msg.cart.promo_code_discount} {** {if $order->promoDiscountType == "percent"} (-{$order->promoDiscountValue|smartround}%) {/if} **} : - {$order->promoDiscountAmount|price}
{$order->handlingText|htmlspecialchars} {** {if $order->handlingTaxable && $order->handlingTaxAmount > 0} ({$msg.cart.shipping_taxable} {if $order->handlingTaxDescription != ""}{$order->handlingTaxDescription}{/if}) {/if} **} : {$order->handlingAmount|price}
{$ShippingLabel|htmlspecialchars} ({$order->shippingCMName|htmlspecialchars}{**{if $order->shippingTaxable}; {$msg.cart.shipping_taxable} - {$order->shippingTaxDescription}{/if}**}) : {$order->shippingAmount|price}
{$msg.cart.tax_amount} : {$order->taxAmount|price}
{$msg.cart.total_amount} : {$order->totalAmount|price}
[{$msg.cart.edit_cart}]