a simple way to create a log in page is.
add a link
Code:
<table border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
{if $login}
<FORM action="{$xcart_web_dir}/include/login.php" method="post" name="loginform">
<td>
Log Out - {$login}
<INPUT type="hidden" name="mode" value="logout">
<INPUT type="hidden" name="redirect" value="{$redirect}">
</td>
</FORM>
{else}
<td>
Log In
</td>
{/if}
</tr>
</table>
edit checkout.tpl. get the bit of code at the top and wrap it with the following to remove the cart part showing if the page is being used for log in
add to top
Code:
{if $smarty.get.mode ne "auth"}
original code
Code:
{capture name=checkout_dialog}
<FORM action="cart.php" method="POST" name="cartform">
<INPUT type="hidden" name="cart_operation" value="cart_operation">
{if $config.Appearance.show_cart_details eq "Y" or ($config.Appearance.show_cart_details eq "L" and $smarty.get.paymentid ne "" and $smarty.get.mode eq "checkout")}
{include file="customer/main/cart_details.tpl"}
{else}
{include file="customer/main/cart_contents.tpl"}
{/if}
<HR noshade size="1">
{include file="customer/main/cart_totals.tpl"}
{if $js_enabled}
{include file="buttons/update.tpl" href="javascript: document.cartform.submit()" js_to_href="Y"}
{else}
{include file="submit_wo_js.tpl" value=$lng.lbl_update}
{/if}
</FORM>
{/capture}
{include file="dialog.tpl" title="`$lng.lbl_checkout`: `$lng.lbl_step` `$checkout_step` `$lng.lbl_of` `$total_checkout_steps`" content=$smarty.capture.checkout_dialog extra="width=100%"}
add beneath