{#include file="header.html"#}
{#if $action=='commit'#}
{#if !$error#}{#$lang.cart_thankyou#}, {#$CheckoutDetail.firstname#} {#$CheckoutDetail.lastname#}{#/if#}
{#if $error#}
{#$error#}
{#else#}

{#$lang.cart_success_line1#} {#$CheckoutDetail.paymentrequest_0_invnum#}
{#$lang.cart_success_line2#} {#$CheckoutDetail.email#}
{#$lang.cart_success_line3#} {#$sysenv.sitename#}

{#/if#}
{#elseif $action=='add'#}
{#$lang.cart_addnew_title#}
{#if $error_stop#} {#else#} {#if $error#}
{#$error#}
{#/if#}
{#foreach from=$fields item=item#} {#/foreach#}
{#$lang.product#}
{#$product.name#} {#$product.version#}
{#$lang.price#}
{#$product.symbol#}{#$product.price#} {#$product.currency#}
{#$lang.cart_quantity#}*

{#$lang.cart_quantity_desc#}
{#$item.label#}{#if $item.required#}*{#/if#}
{#$item.html#}
{#$item.description#}
{#/if#}
{#else#}
{#$lang.cart_title#}
{#foreach from=$items key=key item=item#} {#/foreach#}
{#$lang.product#} {#$lang.version#} {#$lang.price#} {#$lang.cart_quantity#} {#$lang.cart_subtotle#} {#$lang.remove#}
{#$item.name#} {#$item.version#} {#$symbol#}{#$item.price#} {#$symbol#}{#$item.subtotal#}
{#if $coupon_flag#}{#$lang.cart_coupon#}:{#/if#} {#if $coupon_flag#} {#/if#} {#$lang.cart_total#}: {#$symbol#}{#$total#} {#$currency#}
{#$lang.cart_checkoutnow#}
{#/if#}
{#include file="footer.html"#}