{* $Id: checkout.tpl 2638 2006-12-05 09:25:10Z zeke $ *} {include file="cart_pages/progressbar.tpl"} {if $mode == 'customer_info'} {* Step1: Enter shipping and billing information *} {include file="cart_pages/profiles.tpl"} {elseif $mode == 'checkout'} {* Step1: Select shipping and payment methods *} {* Cart content table*} {capture name="mainbox"}
{if $cart.use_discount} {/if} {if $cart.taxes} {/if} {foreach from=$cart_products item="product" key="key"} {if $settings.Modules.product_configurator == 'Y' && $cart.products.$key.extra.configuration} {include file="addons/product_configurator/checkout_configurable_product.tpl"} {elseif !$cart.products.$key.extra.in_configuration} {if $cart.use_discount} {/if} {if $cart.taxes} {/if} {/if} {/foreach}
{$lang.product} {$lang.options} {$lang.price} {$lang.amount}{$lang.discount}{$lang.tax}{$lang.subtotal}
{$product.product|escape:html}  {$lang.delete} 
{include file="common_templates/options_info.tpl" product_options=$product.product_options} {include file="common_templates/price.tpl" value=$product.price} {if $product.discount|floatval}{include file="common_templates/price.tpl" value=$product.discount}{else}-{/if} {include file="common_templates/price.tpl" value=$product.tax_value} {include file="common_templates/price.tpl" value=$product.subtotal}

{include file="buttons/update_cart.tpl" but_onclick="javascript: document.checkout_form.submit()" but_type="input"}
{if $settings.Shippings.disable_shipping != 'Y' && $shipping_rates} {/if} {if ($cart.discount|floatval)} {/if} {if $cart.coupons|floatval} {foreach from=$cart.coupons item="coupon" key="coupon_code"} {/foreach} {/if} {if $cart.taxes} {foreach from=$cart.taxes item="tax"} {/foreach} {/if}
{$lang.subtotal}:   {include file="common_templates/price.tpl" value=$cart.subtotal}
{$lang.shipping_cost}:   {include file="common_templates/price.tpl" value=$cart.shipping_cost}
{$lang.including_discount}:   {include file="common_templates/price.tpl" value=$cart.discount}
{$lang.delete}  {$lang.discount_coupon} {$coupon_code} ({if $coupon.free_shipping == 'Y'}{$lang.free_shipping}{else}{include file="common_templates/price.tpl" value=$coupon.value number_type=$coupon.value_type}{/if})    
{$lang.including_taxes}:  
{$tax.description} ({include file="common_templates/price.tpl" value=$tax.rate_value number_type=$tax.rate_type}):   {include file="common_templates/price.tpl" value=$tax.tax_subtotal}

{$lang.total_cost}:

 

{include file="common_templates/price.tpl" value=$cart.total span_id="cart_total"}

{/capture} {include file="common_templates/mainbox.tpl" title=$lang.checkout content=$smarty.capture.mainbox} {* /Cart content table*} {if $cart_products && !$cart.no_coupons} {include file="cart_pages/discount_coupon.tpl"} {/if} {include file="cart_pages/shipping_rates.tpl"} {if ($shipping_rates || $cart.shipping_required != 'Y' || $settings.Shippings.disable_shipping == 'Y') && $settings.General.min_order_amount <= $cart.total}
{if $cart.total|floatval} {* Payment methods form *} {capture name="mainbox"} {foreach from=$payment_methods item="pm" name="pay"} {/foreach}
{$pm.payment}   {$pm.description}

{/capture} {include file="common_templates/mainbox.tpl" title=$lang.select_payment_method content=$smarty.capture.mainbox anchor="payment_methods"} {else} {/if} {if $settings.General.agree_terms_conditions == 'Y'}
 {$lang.checkout_terms_n_conditions}
 
{/if}
{include file="buttons/continue.tpl" but_onclick="javascript: if (fn_can_continue_order()) document.order_info_form.submit();"}
{if $selected_payment_id} {/if}
{elseif $settings.General.min_order_amount > $cart.total}

{$lang.text_min_order_amount_required} {include file="common_templates/price.tpl" value=$settings.General.min_order_amount}

{include file="buttons/continue_shopping.tpl" but_href=$continue_url|default:$index_script but_arrow="on"}

{/if} {* /Payment methods form *} {elseif $mode == 'summary'} {* Step3: Check all entered information and place order *} {capture name="mainbox"} {include file="profiles_pages/profiles_info.tpl" user_data=$cart.user_data shipping_method=$cart.shipping location="I"}
{if $payment_method.template} {$lang.payment_details}
{/if}
{* Payment methods form *} {if $payment_method.template}
{include file="payments/`$payment_method.template`" payment_id=$payment_method.payment_id}
{else} {/if}

{$lang.text_customer_notes}:


{if $payment_method.params.button} {$payment_method.params.button} {else} {include file="buttons/place_order.tpl" but_onclick="javascript: if (fn_can_place_order()) document.place_order_form.submit();"} {/if}
{/capture} {include file="common_templates/mainbox.tpl" title=$lang.summary content=$smarty.capture.mainbox} {/if}