{extends file='checkout/_partials/steps/checkout-step.tpl'} {block name='step_content'} {hook h='displayPersonalInformationTop' customer=$customer} {if $customer.is_logged && !$customer.is_guest}

{* [1][/1] is for a HTML tag. *} {l s='Connected as [1]%firstname% %lastname%[/1].' d='Shop.Theme.Customeraccount' sprintf=[ '[1]' => "", '[/1]' => "", '%firstname%' => $customer.firstname, '%lastname%' => $customer.lastname ] }

{* [1][/1] is for a HTML tag. *} {l s='Not you? [1]Log out[/1]' d='Shop.Theme.Customeraccount' sprintf=[ '[1]' => "", '[/1]' => "" ] }

{if !isset($empty_cart_on_logout) || $empty_cart_on_logout}

{l s='If you sign out now, your cart will be emptied.' d='Shop.Theme.Checkout'}

{/if}
{else}
{render file='checkout/_partials/customer-form.tpl' ui=$register_form guest_allowed=$guest_allowed}
{render file='checkout/_partials/login-form.tpl' ui=$login_form}
{/if} {/block}