{if $smarty.post.onepageorder == "1" && $smarty.post.checkcredit == "0"} {if $errormessage}
{$LANG.orderForm.correctErrors}:
{lang key='cart.availableCreditBalance' amount=$creditBalance}
{if $creditBalance->toNumeric() >= $total->toNumeric()} {else} {/if} {/if} {/if} {else} {include file="orderforms/{$carttpl}/common.tpl"}{lang key='orderForm.enterPersonalDetails'}
{$LANG.orderForm.correctErrors}: