{if !$wa->user()->isAuth()}
post('wa_auth_login')} style="display:none"{/if}>
{include file="checkout.login.html" without_form=true}
{else}
{sprintf("[`You are currently authorized as %s. Please verify or update your contact information using the form below. Your existing contact info will be automatically updated.`]", $wa->user('name'))}
[`If you want to place an order on behalf of another customer, log out from your current profile and proceed to checkout again.`]
{/if}
{/if}
{if $checkout_current_step == $step_id}
{if in_array($step_id,['contactinfo', 'shipping', 'payment', 'confirmation'])}
{include file="checkout.`$step_id`.html"}
{else}
{$s.content}
{/if}
{else}
{/if}
{if $s@last}
{else}
{/if}