{* $Id: checkout.tpl 1288 2006-02-03 15:10:53Z 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"}
{/capture} {include file="common_templates/mainbox.tpl" title=$lang.checkout content=$smarty.capture.mainbox} {* /Cart content table*} {if $cart_products} {include file="cart_pages/discount_coupon.tpl"} {/if} {include file="cart_pages/shipping_rates.tpl"} {if $cart.taxed_subtotal > '0'} {assign var="subtotal" value=$cart.taxed_subtotal} {else} {assign var="subtotal" value=$cart.subtotal} {/if} {if ($shipping_rates || $cart.shipping_required != 'Y' || $settings.Shippings.disable_shipping == 'Y') && $settings.General.min_order_amount <= $subtotal} {/capture} {include file="common_templates/mainbox.tpl" title=$lang.select_payment_method content=$smarty.capture.mainbox anchor="payment_methods"} {elseif $settings.General.min_order_amount > $subtotal}{$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}