{if isset($checkout_steps)}
{if !$wa->user()->isAuth()}
post('wa_auth_login')} style="display:none"{/if}> {$wa->authAdapters()} {$wa->loginForm($error, false)}
{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 shopDiscounts::isEnabled('coupons')} {/if}
{foreach $checkout_steps as $step_id => $s} {if !empty($settings.sticky) && $step_id == 'confirmation'}
{/if}

{$s@iteration}. {$s.name}

{if in_array($step_id,['contactinfo', 'shipping', 'payment', 'confirmation'])} {$checkout_tpls[$step_id]} {/if}
{if $s@last}
{/if}
{/foreach}
{/if}